
<!DOCTYPE HTML>
<html lang="" >
    <head>
        <meta charset="UTF-8">
        <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
        <title>00-1-ASL语法基础 · GitBook</title>
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <meta name="description" content="">
        <meta name="generator" content="GitBook 3.2.3">
        
        
        
    
    <link rel="stylesheet" href="../../gitbook/style.css">

    
            
                
                <link rel="stylesheet" href="../../gitbook/gitbook-plugin-highlight/website.css">
                
            
                
                <link rel="stylesheet" href="../../gitbook/gitbook-plugin-search/search.css">
                
            
                
                <link rel="stylesheet" href="../../gitbook/gitbook-plugin-fontsettings/website.css">
                
            
        

    

    
        
    
        
    
        
    
        
    
        
    
        
    

        
    
    
    <meta name="HandheldFriendly" content="true"/>
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <link rel="apple-touch-icon-precomposed" sizes="152x152" href="../../gitbook/images/apple-touch-icon-precomposed-152.png">
    <link rel="shortcut icon" href="../../gitbook/images/favicon.ico" type="image/x-icon">

    
    <link rel="next" href="../00-2-SSDT补丁加载顺序/" />
    
    
    <link rel="prev" href="../" />
    

    </head>
    <body>
        
<div class="book">
    <div class="book-summary">
        
            
<div id="book-search-input" role="search">
    <input type="text" placeholder="Type to search" />
</div>

            
                <nav role="navigation">
                


<ul class="summary">
    
    

    

    
        
        
    
        <li class="chapter " data-level="1.1" data-path="../../">
            
                <a href="../../">
            
                    
                    OpenCore 部件
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2" data-path="../">
            
                <a href="../">
            
                    
                    00-总述
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter active" data-level="1.2.1" data-path="./">
            
                <a href="./">
            
                    
                    00-1-ASL语法基础
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.2" data-path="../00-2-SSDT补丁加载顺序/">
            
                <a href="../00-2-SSDT补丁加载顺序/">
            
                    
                    00-2-SSDT补丁加载顺序
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.2.2.1" data-path="../00-2-SSDT补丁加载顺序/SSDT-XXXX-1.html">
            
                <a href="../00-2-SSDT补丁加载顺序/SSDT-XXXX-1.html">
            
                    
                    SSDT-XXXX-1.dsl
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.2.2" data-path="../00-2-SSDT补丁加载顺序/SSDT-XXXX-2.html">
            
                <a href="../00-2-SSDT补丁加载顺序/SSDT-XXXX-2.html">
            
                    
                    SSDT-XXXX-2.dsl
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.2.3" data-path="../00-3-ACPI表单/">
            
                <a href="../00-3-ACPI表单/">
            
                    
                    00-3-ACPI表单
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.4" data-path="../../03-二进制更名与预置变量/03-2-ASL-AML对照表/ASL-AML对照表.md">
            
                <span>
            
                    
                    00-4-ASL-AML对照表
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.3" data-path="../../01-关于AOAC/">
            
                <a href="../../01-关于AOAC/">
            
                    
                    01-关于AOAC
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.3.1" data-path="../../01-关于AOAC/01-1-禁止S3睡眠/">
            
                <a href="../../01-关于AOAC/01-1-禁止S3睡眠/">
            
                    
                    01-1-禁止S3睡眠
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.3.1.1" data-path="../../01-关于AOAC/01-1-禁止S3睡眠/_S3更名XS3.html">
            
                <a href="../../01-关于AOAC/01-1-禁止S3睡眠/_S3更名XS3.html">
            
                    
                    _S3更名XS3.plist
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.1.2" data-path="../../01-关于AOAC/01-1-禁止S3睡眠/SSDT-MethodS3-disable.html">
            
                <a href="../../01-关于AOAC/01-1-禁止S3睡眠/SSDT-MethodS3-disable.html">
            
                    
                    SSDT-MethodS3-disable.dsl
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.1.3" data-path="../../01-关于AOAC/01-1-禁止S3睡眠/SSDT-NameS3-disable.html">
            
                <a href="../../01-关于AOAC/01-1-禁止S3睡眠/SSDT-NameS3-disable.html">
            
                    
                    SSDT-NameS3-disable.dsl
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.3.2" data-path="../../01-关于AOAC/01-2-AOAC禁止独显/">
            
                <a href="../../01-关于AOAC/01-2-AOAC禁止独显/">
            
                    
                    01-2-AOAC禁止独显
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.3.2.1" data-path="../../01-关于AOAC/01-2-AOAC禁止独显/SSDT-NDGP_OFF-AOAC.html">
            
                <a href="../../01-关于AOAC/01-2-AOAC禁止独显/SSDT-NDGP_OFF-AOAC.html">
            
                    
                    SSDT-NDGP_OFF-AOAC.dsl
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.2.2" data-path="../../01-关于AOAC/01-2-AOAC禁止独显/SSDT-NDGP_PS3-AOAC.html">
            
                <a href="../../01-关于AOAC/01-2-AOAC禁止独显/SSDT-NDGP_PS3-AOAC.html">
            
                    
                    SSDT-NDGP_PS3-AOAC.dsl
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.3.3" data-path="../../01-关于AOAC/01-3-电源空闲管理/">
            
                <a href="../../01-关于AOAC/01-3-电源空闲管理/">
            
                    
                    01-3-电源空闲管理
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.3.3.1" data-path="../../01-关于AOAC/01-3-电源空闲管理/SSDT-DeepIdle.html">
            
                <a href="../../01-关于AOAC/01-3-电源空闲管理/SSDT-DeepIdle.html">
            
                    
                    SSDT-DeepIdle.dsl
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.3.4" data-path="../../01-关于AOAC/01-4-AOAC唤醒方法/">
            
                <a href="../../01-关于AOAC/01-4-AOAC唤醒方法/">
            
                    
                    01-4-AOAC唤醒方法
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.3.4.1" data-path="../../01-关于AOAC/01-4-AOAC唤醒方法/SSDT-PCI0.LPCB-Wake-AOAC.html">
            
                <a href="../../01-关于AOAC/01-4-AOAC唤醒方法/SSDT-PCI0.LPCB-Wake-AOAC.html">
            
                    
                    SSDT-PCI0.LPCB-Wake-AOAC.dsl
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.3.5" data-path="../../01-关于AOAC/01-5-睡眠自动关闭蓝牙WIFI/">
            
                <a href="../../01-关于AOAC/01-5-睡眠自动关闭蓝牙WIFI/">
            
                    
                    01-5-睡眠自动关闭蓝牙WIFI
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.4" data-path="../../02-仿冒设备/README.md">
            
                <span>
            
                    
                    02-仿冒设备
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.4.1" data-path="../../02-仿冒设备/02-1-仿冒EC/README.md">
            
                <span>
            
                    
                    02-1-仿冒EC
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.4.1.1" data-path="../../02-仿冒设备/02-1-仿冒EC/SSDT-EC.md">
            
                <span>
            
                    
                    SSDT-EC.dsl
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.4.2" data-path="../../02-仿冒设备/02-2-RTC0/README.md">
            
                <span>
            
                    
                    02-2-RTC0
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.4.2.1" data-path="../../02-仿冒设备/02-2-RTC0/SSDT-RTC0.md">
            
                <span>
            
                    
                    SSDT-RTC0.dsl
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.4.3" data-path="../../02-仿冒设备/02-3-仿冒环境光传感器/README.md">
            
                <span>
            
                    
                    02-3-仿冒环境光传感器
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.4.3.1" data-path="../../02-仿冒设备/02-3-仿冒环境光传感器/SSDT-ALS0.md">
            
                <span>
            
                    
                    SSDT-ALS0.dsl
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.3.2" data-path="../../02-仿冒设备/02-3-仿冒环境光传感器/SSDT-ALSD.md">
            
                <span>
            
                    
                    SSDT-ALSD.dsl
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.5" data-path="../../03-二进制更名与预置变量/README.md">
            
                <span>
            
                    
                    03-二进制更名与预置变量
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.5.1" data-path="../../03-二进制更名与预置变量/03-1-OCI2C-GPIO补丁/README.md">
            
                <span>
            
                    
                    03-1-OCI2C-GPIO补丁
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.5.1.1" data-path="../../03-二进制更名与预置变量/03-1-OCI2C-GPIO补丁/SSDT-OCGPI0-GPEN.md">
            
                <span>
            
                    
                    SSDT-OCGPI0-GPEN.dsl
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.1.2" data-path="../../03-二进制更名与预置变量/03-1-OCI2C-GPIO补丁/SSDT-OCGPI0-GPHD.md">
            
                <span>
            
                    
                    SSDT-OCGPI0-GPHD.dsl
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.5.2" >
            
                <span>
            
                    
                    补丁库
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.5.2.1" data-path="../../03-二进制更名与预置变量/补丁库/SSDT-AWAC.md">
            
                <span>
            
                    
                    SSDT-AWAC.dsl
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.2.2" data-path="../../03-二进制更名与预置变量/补丁库/SSDT-RTC_Y-AWAC_N.md">
            
                <span>
            
                    
                    SSDT-RTC_Y-AWAC_N.dsl
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.6" data-path="../../04-操作系统补丁/">
            
                <a href="../../04-操作系统补丁/">
            
                    
                    04-操作系统补丁
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.6.1" data-path="../../04-操作系统补丁/操作系统补丁前置更名.html">
            
                <a href="../../04-操作系统补丁/操作系统补丁前置更名.html">
            
                    
                    操作系统补丁前置更名.plist
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.2" data-path="../../04-操作系统补丁/操作系统更名.html">
            
                <a href="../../04-操作系统补丁/操作系统更名.html">
            
                    
                    操作系统更名.plist
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.3" data-path="../../04-操作系统补丁/SSDT-OC-XOSI.html">
            
                <a href="../../04-操作系统补丁/SSDT-OC-XOSI.html">
            
                    
                    SSDT-OC-XOSI.dsl
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.7" data-path="../../05-注入设备/">
            
                <a href="../../05-注入设备/">
            
                    
                    05-注入设备
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.7.1" data-path="../../05-注入设备/05-1-注入X86/">
            
                <a href="../../05-注入设备/05-1-注入X86/">
            
                    
                    05-1-注入X86
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.7.1.1" data-path="../../05-注入设备/05-1-注入X86/SSDT-PLUG-_PR.CPU0.html">
            
                <a href="../../05-注入设备/05-1-注入X86/SSDT-PLUG-_PR.CPU0.html">
            
                    
                    SSDT-PLUG-_PR.CPU0.dsl
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.7.1.2" data-path="../../05-注入设备/05-1-注入X86/SSDT-PLUG-_PR.P000.html">
            
                <a href="../../05-注入设备/05-1-注入X86/SSDT-PLUG-_PR.P000.html">
            
                    
                    SSDT-PLUG-_PR.P000.dsl
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.7.1.3" data-path="../../05-注入设备/05-1-注入X86/SSDT-PLUG-_PR.PR00.html">
            
                <a href="../../05-注入设备/05-1-注入X86/SSDT-PLUG-_PR.PR00.html">
            
                    
                    SSDT-PLUG-_PR.PR00.dsl
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.7.1.4" data-path="../../05-注入设备/05-1-注入X86/SSDT-PLUG-_SB.CPU0.html">
            
                <a href="../../05-注入设备/05-1-注入X86/SSDT-PLUG-_SB.CPU0.html">
            
                    
                    SSDT-PLUG-_SB.CPU0.dsl
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.7.1.5" data-path="../../05-注入设备/05-1-注入X86/SSDT-PLUG-_SB.P000.html">
            
                <a href="../../05-注入设备/05-1-注入X86/SSDT-PLUG-_SB.P000.html">
            
                    
                    SSDT-PLUG-_SB.P000.dsl
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.7.1.6" data-path="../../05-注入设备/05-1-注入X86/SSDT-PLUG-_SB.PR00.html">
            
                <a href="../../05-注入设备/05-1-注入X86/SSDT-PLUG-_SB.PR00.html">
            
                    
                    SSDT-PLUG-_SB.PR00.dsl
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.7.1.7" data-path="../../05-注入设备/05-1-注入X86/SSDT-PLUG-SCK0.C000.html">
            
                <a href="../../05-注入设备/05-1-注入X86/SSDT-PLUG-SCK0.C000.html">
            
                    
                    SSDT-PLUG-SCK0.C000.dsl
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.7.1.8" data-path="../../05-注入设备/05-1-注入X86/SSDT-PLUG-SCK0.CPU0.html">
            
                <a href="../../05-注入设备/05-1-注入X86/SSDT-PLUG-SCK0.CPU0.html">
            
                    
                    SSDT-PLUG-SCK0.CPU0.dsl
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.7.2" data-path="../../05-注入设备/05-2-PNLF注入方法/">
            
                <a href="../../05-注入设备/05-2-PNLF注入方法/">
            
                    
                    05-2-PNLF注入方法
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.7.2.1" data-path="../../05-注入设备/05-2-PNLF注入方法/ACPI亮度补丁/ACPI亮度补丁.html">
            
                <a href="../../05-注入设备/05-2-PNLF注入方法/ACPI亮度补丁/ACPI亮度补丁.html">
            
                    
                    ACPI亮度补丁
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.7.2.1.1" data-path="../../05-注入设备/05-2-PNLF注入方法/ACPI亮度补丁/SSDT-PNLF-ACPI.html">
            
                <a href="../../05-注入设备/05-2-PNLF注入方法/ACPI亮度补丁/SSDT-PNLF-ACPI.html">
            
                    
                    SSDT-PNLF-ACPI.dsl
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.7.2.1.2" data-path="../../05-注入设备/05-2-PNLF注入方法/ACPI亮度补丁/修改图示.html">
            
                <a href="../../05-注入设备/05-2-PNLF注入方法/ACPI亮度补丁/修改图示.html">
            
                    
                    修改图示
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.7.2.2" >
            
                <span>
            
                    
                    定制亮度补丁
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.7.2.2.1" data-path="../../05-注入设备/05-2-PNLF注入方法/定制亮度补丁/SSDT-PNLF-CFL.html">
            
                <a href="../../05-注入设备/05-2-PNLF注入方法/定制亮度补丁/SSDT-PNLF-CFL.html">
            
                    
                    SSDT-PNLF-CFL.dsl
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.7.2.2.2" data-path="../../05-注入设备/05-2-PNLF注入方法/定制亮度补丁/SSDT-PNLF-Haswell_Broadwell.html">
            
                <a href="../../05-注入设备/05-2-PNLF注入方法/定制亮度补丁/SSDT-PNLF-Haswell_Broadwell.html">
            
                    
                    SSDT-PNLF-Haswell_Broadwell.dsl
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.7.2.2.3" data-path="../../05-注入设备/05-2-PNLF注入方法/定制亮度补丁/SSDT-PNLF-SKL_KBL.html">
            
                <a href="../../05-注入设备/05-2-PNLF注入方法/定制亮度补丁/SSDT-PNLF-SKL_KBL.html">
            
                    
                    SSDT-PNLF-SKL_KBL.dsl
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.7.2.2.4" data-path="../../05-注入设备/05-2-PNLF注入方法/定制亮度补丁/SSDT-PNLF-SNB_IVY.html">
            
                <a href="../../05-注入设备/05-2-PNLF注入方法/定制亮度补丁/SSDT-PNLF-SNB_IVY.html">
            
                    
                    SSDT-PNLF-SNB_IVY.dsl
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.7.3" data-path="../../05-注入设备/05-3-SBUS_SMBU补丁/">
            
                <a href="../../05-注入设备/05-3-SBUS_SMBU补丁/">
            
                    
                    05-3-SBUS/SMBU补丁
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.7.3.1" data-path="../../05-注入设备/05-3-SBUS_SMBU补丁/SSDT-SBUS.html">
            
                <a href="../../05-注入设备/05-3-SBUS_SMBU补丁/SSDT-SBUS.html">
            
                    
                    SSDT-SBUS.dsl
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.7.3.2" data-path="../../05-注入设备/05-3-SBUS_SMBU补丁/SSDT-SMBU.html">
            
                <a href="../../05-注入设备/05-3-SBUS_SMBU补丁/SSDT-SMBU.html">
            
                    
                    SSDT-SMBU.dsl
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.8" data-path="../../06-添加缺失的部件/">
            
                <a href="../../06-添加缺失的部件/">
            
                    
                    06-添加缺失的部件
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.8.1" data-path="../../06-添加缺失的部件/SSDT-DMAC.html">
            
                <a href="../../06-添加缺失的部件/SSDT-DMAC.html">
            
                    
                    SSDT-DMAC.dsl
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.8.2" data-path="../../06-添加缺失的部件/SSDT-IMEI.html">
            
                <a href="../../06-添加缺失的部件/SSDT-IMEI.html">
            
                    
                    SSDT-IMEI.dsl
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.8.3" data-path="../../06-添加缺失的部件/SSDT-MCHC.html">
            
                <a href="../../06-添加缺失的部件/SSDT-MCHC.html">
            
                    
                    SSDT-MCHC.dsl
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.8.4" data-path="../../06-添加缺失的部件/SSDT-MEM2.html">
            
                <a href="../../06-添加缺失的部件/SSDT-MEM2.html">
            
                    
                    SSDT-MEM2.dsl
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.8.5" data-path="../../06-添加缺失的部件/SSDT-PMCR.html">
            
                <a href="../../06-添加缺失的部件/SSDT-PMCR.html">
            
                    
                    SSDT-PMCR.dsl
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.8.6" data-path="../../06-添加缺失的部件/SSDT-PPMC.html">
            
                <a href="../../06-添加缺失的部件/SSDT-PPMC.html">
            
                    
                    SSDT-PPMC.dsl
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.8.7" data-path="../../06-添加缺失的部件/SSDT-PWRB.html">
            
                <a href="../../06-添加缺失的部件/SSDT-PWRB.html">
            
                    
                    SSDT-PWRB.dsl
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.8.8" data-path="../../06-添加缺失的部件/SSDT-SLPB.html">
            
                <a href="../../06-添加缺失的部件/SSDT-SLPB.html">
            
                    
                    SSDT-SLPB.dsl
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.9" data-path="../../07-PS2键盘映射及亮度快捷键/">
            
                <a href="../../07-PS2键盘映射及亮度快捷键/">
            
                    
                    07-PS2键盘映射及亮度快捷键
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.9.1" data-path="../../07-PS2键盘映射及亮度快捷键/ApplePS2ToADBMap.html">
            
                <a href="../../07-PS2键盘映射及亮度快捷键/ApplePS2ToADBMap.html">
            
                    
                    ApplePS2ToADBMap.h
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.9.2" data-path="../../07-PS2键盘映射及亮度快捷键/SSDT-RMCF-MouseAsTrackpad.html">
            
                <a href="../../07-PS2键盘映射及亮度快捷键/SSDT-RMCF-MouseAsTrackpad.html">
            
                    
                    SSDT-RMCF-MouseAsTrackpad.dsl
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.9.3" data-path="../../07-PS2键盘映射及亮度快捷键/SSDT-RMCF-PS2Map-AtoZ.html">
            
                <a href="../../07-PS2键盘映射及亮度快捷键/SSDT-RMCF-PS2Map-AtoZ.html">
            
                    
                    SSDT-RMCF-PS2Map-AtoZ.dsl
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.9.4" data-path="../../07-PS2键盘映射及亮度快捷键/SSDT-RMCF-PS2Map-dell.html">
            
                <a href="../../07-PS2键盘映射及亮度快捷键/SSDT-RMCF-PS2Map-dell.html">
            
                    
                    SSDT-RMCF-PS2Map-dell.dsl
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.9.5" data-path="../../07-PS2键盘映射及亮度快捷键/SSDT-RMCF-PS2Map-LenovoIWL.html">
            
                <a href="../../07-PS2键盘映射及亮度快捷键/SSDT-RMCF-PS2Map-LenovoIWL.html">
            
                    
                    SSDT-RMCF-PS2Map-LenovoIWL.dsl
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.10" data-path="../../08-笔记本电池驱动/">
            
                <a href="../../08-笔记本电池驱动/">
            
                    
                    08-笔记本电池驱动
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.11" data-path="../../09-禁用EHCx/">
            
                <a href="../../09-禁用EHCx/">
            
                    
                    09-禁用EHCx
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.11.1" data-path="../../09-禁用EHCx/SSDT-EHC1_OFF.html">
            
                <a href="../../09-禁用EHCx/SSDT-EHC1_OFF.html">
            
                    
                    SSDT-EHC1_OFF.dsl
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.11.2" data-path="../../09-禁用EHCx/SSDT-EHC2_OFF.html">
            
                <a href="../../09-禁用EHCx/SSDT-EHC2_OFF.html">
            
                    
                    SSDT-EHC2_OFF.dsl
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.11.3" data-path="../../09-禁用EHCx/SSDT-EHCx_OFF.html">
            
                <a href="../../09-禁用EHCx/SSDT-EHCx_OFF.html">
            
                    
                    SSDT-EHCx_OFF.dsl
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.12" data-path="../../10-PTSWAK综合扩展补丁/">
            
                <a href="../../10-PTSWAK综合扩展补丁/">
            
                    
                    10-PTSWAK综合扩展补丁
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.12.1" data-path="../../10-PTSWAK综合扩展补丁/SSDT-EXT1-FixShutdown.html">
            
                <a href="../../10-PTSWAK综合扩展补丁/SSDT-EXT1-FixShutdown.html">
            
                    
                    SSDT-EXT1-FixShutdown.dsl
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.12.2" data-path="../../10-PTSWAK综合扩展补丁/SSDT-EXT3-WakeScreen.html">
            
                <a href="../../10-PTSWAK综合扩展补丁/SSDT-EXT3-WakeScreen.html">
            
                    
                    SSDT-EXT3-WakeScreen.dsl
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.12.3" data-path="../../10-PTSWAK综合扩展补丁/SSDT-EXT5-TP-LED.html">
            
                <a href="../../10-PTSWAK综合扩展补丁/SSDT-EXT5-TP-LED.html">
            
                    
                    SSDT-EXT5-TP-LED.dsl
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.12.4" data-path="../../10-PTSWAK综合扩展补丁/SSDT-PTSWAKTTS.html">
            
                <a href="../../10-PTSWAK综合扩展补丁/SSDT-PTSWAKTTS.html">
            
                    
                    SSDT-PTSWAKTTS.dsl
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.12.5" data-path="../../10-PTSWAK综合扩展补丁/综合补丁更名.html">
            
                <a href="../../10-PTSWAK综合扩展补丁/综合补丁更名.html">
            
                    
                    综合补丁更名.plist
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.13" data-path="../../11-PNP0C0E睡眠修正方法/">
            
                <a href="../../11-PNP0C0E睡眠修正方法/">
            
                    
                    11-PNP0C0E睡眠修正方法
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.13.1" data-path="../../11-PNP0C0E睡眠修正方法/SSDT-FnF4_Q13-X1C5th.html">
            
                <a href="../../11-PNP0C0E睡眠修正方法/SSDT-FnF4_Q13-X1C5th.html">
            
                    
                    SSDT-FnF4_Q13-X1C5th.dsl
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.13.2" data-path="../../11-PNP0C0E睡眠修正方法/SSDT-FnInsert_BTNV-dell.html">
            
                <a href="../../11-PNP0C0E睡眠修正方法/SSDT-FnInsert_BTNV-dell.html">
            
                    
                    SSDT-FnInsert_BTNV-dell.dsl
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.13.3" data-path="../../11-PNP0C0E睡眠修正方法/SSDT-LIDpatch.html">
            
                <a href="../../11-PNP0C0E睡眠修正方法/SSDT-LIDpatch.html">
            
                    
                    SSDT-LIDpatch.dsl
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.13.4" data-path="../../11-PNP0C0E睡眠修正方法/睡眠按键和_LID更名.html">
            
                <a href="../../11-PNP0C0E睡眠修正方法/睡眠按键和_LID更名.html">
            
                    
                    睡眠按键和_LID更名.plist
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.14" data-path="../../12-060D补丁/">
            
                <a href="../../12-060D补丁/">
            
                    
                    12-060D补丁
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.14.1" data-path="../../12-060D补丁/12-1-普通的060D补丁/">
            
                <a href="../../12-060D补丁/12-1-普通的060D补丁/">
            
                    
                    12-1-普通的060D补丁
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.14.1.1" data-path="../../12-060D补丁/12-1-普通的060D补丁/SSDT-GPRW.html">
            
                <a href="../../12-060D补丁/12-1-普通的060D补丁/SSDT-GPRW.html">
            
                    
                    SSDT-GPRW.dsl
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.14.1.2" data-path="../../12-060D补丁/12-1-普通的060D补丁/SSDT-UPRW.html">
            
                <a href="../../12-060D补丁/12-1-普通的060D补丁/SSDT-UPRW.html">
            
                    
                    SSDT-UPRW.dsl
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.14.1.3" data-path="../../12-060D补丁/12-1-普通的060D补丁/Name-0D更名.html">
            
                <a href="../../12-060D补丁/12-1-普通的060D补丁/Name-0D更名.html">
            
                    
                    Name-0D更名.plist
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.14.1.4" data-path="../../12-060D补丁/12-1-普通的060D补丁/Name-6D更名.html">
            
                <a href="../../12-060D补丁/12-1-普通的060D补丁/Name-6D更名.html">
            
                    
                    Name-6D更名.plist
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.14.2" data-path="../../12-060D补丁/12-2-惠普特殊的060D补丁/">
            
                <a href="../../12-060D补丁/12-2-惠普特殊的060D补丁/">
            
                    
                    12-2-惠普特殊的060D补丁
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.14.2.1" data-path="../../12-060D补丁/12-2-惠普特殊的060D补丁/SSDT-0D6D-HP.html">
            
                <a href="../../12-060D补丁/12-2-惠普特殊的060D补丁/SSDT-0D6D-HP.html">
            
                    
                    SSDT-0D6D-HP.dsl
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.15" data-path="../../13-仿冒以太网和重置以太网BSD Name/">
            
                <a href="../../13-仿冒以太网和重置以太网BSD Name/">
            
                    
                    13-仿冒以太网和重置以太网BSD Name
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.15.1" data-path="../../13-仿冒以太网和重置以太网BSD Name/SSDT-LAN.html">
            
                <a href="../../13-仿冒以太网和重置以太网BSD Name/SSDT-LAN.html">
            
                    
                    SSDT-LAN.dsl
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.15.2" data-path="../../13-仿冒以太网和重置以太网BSD Name/清除所有网络.md">
            
                <span>
            
                    
                    清除所有网络
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.16" data-path="../../14-CMOS相关/">
            
                <a href="../../14-CMOS相关/">
            
                    
                    14-CMOS相关
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.16.1" data-path="../../14-CMOS相关/14-1-CMOS内存和RTCMemoryFixup/">
            
                <a href="../../14-CMOS相关/14-1-CMOS内存和RTCMemoryFixup/">
            
                    
                    14-1-CMOS内存和RTCMemoryFixup
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.17" data-path="../../15-ACPI定制USB端口/">
            
                <a href="../../15-ACPI定制USB端口/">
            
                    
                    15-ACPI定制USB端口
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.17.1" data-path="../../15-ACPI定制USB端口/SSDT-CB-01_XHC.html">
            
                <a href="../../15-ACPI定制USB端口/SSDT-CB-01_XHC.html">
            
                    
                    SSDT-CB-01_XHC.dsl
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.17.2" data-path="../../15-ACPI定制USB端口/SSDT-xh_OEMBD_XHC.html">
            
                <a href="../../15-ACPI定制USB端口/SSDT-xh_OEMBD_XHC.html">
            
                    
                    SSDT-xh_OEMBD_XHC.dsl
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.18" >
            
                <span>
            
                    
                    16-禁止PCI设备及设置ASPM工作模式
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.18.1" data-path="../../16-禁止PCI设备及设置ASPM工作模式/16-1-禁止PCI设备/">
            
                <a href="../../16-禁止PCI设备及设置ASPM工作模式/16-1-禁止PCI设备/">
            
                    
                    16-1-禁止PCI设备
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.18.1.1" data-path="../../16-禁止PCI设备及设置ASPM工作模式/16-1-禁止PCI设备/SSDT-RP01.PXSX-disbale.html">
            
                <a href="../../16-禁止PCI设备及设置ASPM工作模式/16-1-禁止PCI设备/SSDT-RP01.PXSX-disbale.html">
            
                    
                    SSDT-RP01.PXSX-disbale.dsl
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.18.2" data-path="../../16-禁止PCI设备及设置ASPM工作模式/16-2-设置ASPM工作模式/readme.MD.md">
            
                <span>
            
                    
                    16-2-设置ASPM工作模式
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.18.2.1" data-path="../../16-禁止PCI设备及设置ASPM工作模式/16-2-设置ASPM工作模式/SSDT-PCI0.RPXX-ASPM.html">
            
                <a href="../../16-禁止PCI设备及设置ASPM工作模式/16-2-设置ASPM工作模式/SSDT-PCI0.RPXX-ASPM.html">
            
                    
                    SSDT-PCI0.RPXX-ASPM.dsl
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.19" data-path="../../17-ACPIDebug/">
            
                <a href="../../17-ACPIDebug/">
            
                    
                    17-ACPIDebug
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.19.1" data-path="../../17-ACPIDebug/SSDT-BKeyQxx-Debug.html">
            
                <a href="../../17-ACPIDebug/SSDT-BKeyQxx-Debug.html">
            
                    
                    SSDT-BKeyQxx-Debug.dsl
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.19.2" data-path="../../17-ACPIDebug/SSDT-RMDT.html">
            
                <a href="../../17-ACPIDebug/SSDT-RMDT.html">
            
                    
                    SSDT-RMDT.dsl
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.20" data-path="../../18-品牌机器特殊补丁/">
            
                <a href="../../18-品牌机器特殊补丁/">
            
                    
                    18-品牌机器特殊补丁
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.20.1" data-path="../../18-品牌机器特殊补丁/18-1-Dell机器特殊补丁/">
            
                <a href="../../18-品牌机器特殊补丁/18-1-Dell机器特殊补丁/">
            
                    
                    18-1-Dell机器特殊补丁
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.20.1.1" data-path="../../18-品牌机器特殊补丁/18-1-Dell机器特殊补丁/SSDT-OCWork-dell.html">
            
                <a href="../../18-品牌机器特殊补丁/18-1-Dell机器特殊补丁/SSDT-OCWork-dell.html">
            
                    
                    SSDT-OCWork-dell.dsl
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.20.2" data-path="../../18-品牌机器特殊补丁/18-2-小新PRO13特殊补丁/">
            
                <a href="../../18-品牌机器特殊补丁/18-2-小新PRO13特殊补丁/">
            
                    
                    18-2-小新PRO13特殊补丁
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.20.2.1" data-path="../../18-品牌机器特殊补丁/18-1-Dell机器特殊补丁/SSDT-OCPublic-Merge.md">
            
                <span>
            
                    
                    SSDT-OCPublic-Merge.dsl
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.20.2.2" data-path="../../18-品牌机器特殊补丁/18-1-Dell机器特殊补丁/SSDT-RMCF-PS2Map-LenovoPRO13.md">
            
                <span>
            
                    
                    SSDT-RMCF-PS2Map-LenovoPRO13.dsl
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.20.3" data-path="../../18-品牌机器特殊补丁/18-3-ThinkPad机器专用补丁/">
            
                <a href="../../18-品牌机器特殊补丁/18-3-ThinkPad机器专用补丁/">
            
                    
                    18-3-ThinkPad机器专用补丁
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.20.3.1" data-path="../../18-品牌机器特殊补丁/18-3-ThinkPad机器专用补丁/SSDT-OCWork-TP.html">
            
                <a href="../../18-品牌机器特殊补丁/18-3-ThinkPad机器专用补丁/SSDT-OCWork-TP.html">
            
                    
                    SSDT-OCWork-TP.dsl
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.20.3.2" data-path="../../18-品牌机器特殊补丁/18-3-ThinkPad机器专用补丁/SSDT-ThinkPad_ClickPad.html">
            
                <a href="../../18-品牌机器特殊补丁/18-3-ThinkPad机器专用补丁/SSDT-ThinkPad_ClickPad.html">
            
                    
                    SSDT-ThinkPad_ClickPad.dsl
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.20.3.3" data-path="../../18-品牌机器特殊补丁/18-3-ThinkPad机器专用补丁/SSDT-ThinkPad_ClickPad+PS2Map-AtoZ.html">
            
                <a href="../../18-品牌机器特殊补丁/18-3-ThinkPad机器专用补丁/SSDT-ThinkPad_ClickPad+PS2Map-AtoZ.html">
            
                    
                    SSDT-ThinkPad_ClickPad+PS2Map-AtoZ.dsl
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.20.3.4" data-path="../../18-品牌机器特殊补丁/18-3-ThinkPad机器专用补丁/SSDT-ThinkPad_TrackPad.html">
            
                <a href="../../18-品牌机器特殊补丁/18-3-ThinkPad机器专用补丁/SSDT-ThinkPad_TrackPad.html">
            
                    
                    SSDT-ThinkPad_TrackPad.dsl
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.20.4" data-path="../../18-品牌机器特殊补丁/18-4-Asus机器特殊补丁/">
            
                <a href="../../18-品牌机器特殊补丁/18-4-Asus机器特殊补丁/">
            
                    
                    18-4-Asus机器特殊补丁
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.20.4.1" data-path="../../18-品牌机器特殊补丁/18-4-Asus机器特殊补丁/SSDT-OCWork-asus.html">
            
                <a href="../../18-品牌机器特殊补丁/18-4-Asus机器特殊补丁/SSDT-OCWork-asus.html">
            
                    
                    SSDT-OCWork-asus.dsl
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.21" data-path="../../19-I2C专用部件/">
            
                <a href="../../19-I2C专用部件/">
            
                    
                    19-I2C专用部件
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.21.1" data-path="../../19-I2C专用部件/SSDT-OCI2C-TPXX-chao7000.html">
            
                <a href="../../19-I2C专用部件/SSDT-OCI2C-TPXX-chao7000.html">
            
                    
                    SSDT-OCI2C-TPXX-chao7000.dsl
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.21.2" data-path="../../19-I2C专用部件/SSDT-OCI2C-TPXX-dell5480.html">
            
                <a href="../../19-I2C专用部件/SSDT-OCI2C-TPXX-dell5480.html">
            
                    
                    SSDT-OCI2C-TPXX-dell5480.dsl
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.21.3" data-path="../../19-I2C专用部件/SSDT-OCI2C-TPXX-LenovoIWL.html">
            
                <a href="../../19-I2C专用部件/SSDT-OCI2C-TPXX-LenovoIWL.html">
            
                    
                    SSDT-OCI2C-TPXX-LenovoIWL.dsl
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.21.4" data-path="../../19-I2C专用部件/SSDT-OCI2C-TPXX-lenovoPRO13.html">
            
                <a href="../../19-I2C专用部件/SSDT-OCI2C-TPXX-lenovoPRO13.html">
            
                    
                    SSDT-OCI2C-TPXX-lenovoPRO13.dsl
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.21.5" data-path="../../19-I2C专用部件/SSDT-OCI2C-TPXX-yoga_s740.html">
            
                <a href="../../19-I2C专用部件/SSDT-OCI2C-TPXX-yoga_s740.html">
            
                    
                    SSDT-OCI2C-TPXX-yoga_s740.dsl
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.21.6" data-path="../../19-I2C专用部件/SSDT-OCGPI0-GPEN.html">
            
                <a href="../../19-I2C专用部件/SSDT-OCGPI0-GPEN.html">
            
                    
                    SSDT-OCGPI0-GPEN.dsl
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.21.7" data-path="../../19-I2C专用部件/SSDT-OCGPI0-GPHD.html">
            
                <a href="../../19-I2C专用部件/SSDT-OCGPI0-GPHD.html">
            
                    
                    SSDT-OCGPI0-GPHD.dsl
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.21.8" data-path="../../19-I2C专用部件/SSDT-I2CxConf.html">
            
                <a href="../../19-I2C专用部件/SSDT-I2CxConf.html">
            
                    
                    SSDT-I2CxConf.dsl
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.21.9" data-path="../../19-I2C专用部件/SSDT-OCI2C1-TP01-xps9300.html">
            
                <a href="../../19-I2C专用部件/SSDT-OCI2C1-TP01-xps9300.html">
            
                    
                    SSDT-OCI2C1-TP01-xps9300.dsl
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.21.10" data-path="../../19-I2C专用部件/SSDT-OCI2C0-TP02-xps9300.html">
            
                <a href="../../19-I2C专用部件/SSDT-OCI2C0-TP02-xps9300.html">
            
                    
                    SSDT-OCI2C0-TP02-xps9300.dsl
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.22" data-path="../../20-SSDT屏蔽独显方法/">
            
                <a href="../../20-SSDT屏蔽独显方法/">
            
                    
                    20-SSDT屏蔽独显方法
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.22.1" data-path="../../20-SSDT屏蔽独显方法/SSDT-NDGP_OFF.html">
            
                <a href="../../20-SSDT屏蔽独显方法/SSDT-NDGP_OFF.html">
            
                    
                    SSDT-NDGP_OFF.dsl
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.22.2" data-path="../../20-SSDT屏蔽独显方法/SSDT-NDGP_PS3.html">
            
                <a href="../../20-SSDT屏蔽独显方法/SSDT-NDGP_PS3.html">
            
                    
                    SSDT-NDGP_PS3.dsl
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.23" data-path="../../保留部件/声卡IRQ补丁/README.md">
            
                <span>
            
                    
                    21-声卡IRQ补丁
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.23.1" data-path="../../21-声卡IRQ补丁/SSDT-HPET_RTC_TIMR-fix.html">
            
                <a href="../../21-声卡IRQ补丁/SSDT-HPET_RTC_TIMR-fix.html">
            
                    
                    SSDT-HPET_RTC_TIMR-fix.dsl
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.23.2" data-path="../../21-声卡IRQ补丁/SSDT-IPIC.html">
            
                <a href="../../21-声卡IRQ补丁/SSDT-IPIC.html">
            
                    
                    SSDT-IPIC.dsl
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.24" data-path="../../保留部件/">
            
                <a href="../../保留部件/">
            
                    
                    保留部件
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.24.1" data-path="../../保留部件/电池补丁/">
            
                <a href="../../保留部件/电池补丁/">
            
                    
                    电池补丁
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.24.1.1" data-path="../../保留部件/电池补丁/Thinkpad/">
            
                <a href="../../保留部件/电池补丁/Thinkpad/">
            
                    
                    Thinkpad
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.24.1.1.1" >
            
                <span>
            
                    
                    各机型电池补丁
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.24.1.1.1.1" data-path="../../保留部件/电池补丁/Thinkpad/各机型电池补丁/SSDT-Notify-LPC.html">
            
                <a href="../../保留部件/电池补丁/Thinkpad/各机型电池补丁/SSDT-Notify-LPC.html">
            
                    
                    SSDT-Notify-LPC.dsl
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.24.1.1.1.2" data-path="../../保留部件/电池补丁/Thinkpad/各机型电池补丁/SSDT-Notify-LPCB.html">
            
                <a href="../../保留部件/电池补丁/Thinkpad/各机型电池补丁/SSDT-Notify-LPCB.html">
            
                    
                    SSDT-Notify-LPCB.dsl
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.24.1.1.1.3" data-path="../../保留部件/电池补丁/Thinkpad/各机型电池补丁/SSDT-OCBAT0-TP_e30_s30.html">
            
                <a href="../../保留部件/电池补丁/Thinkpad/各机型电池补丁/SSDT-OCBAT0-TP_e30_s30.html">
            
                    
                    SSDT-OCBAT0-TP_e30_s30.dsl
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.24.1.1.1.4" data-path="../../保留部件/电池补丁/Thinkpad/各机型电池补丁/SSDT-OCBAT0-TP_re80_tx70_x1c5th_s12017_p51.html">
            
                <a href="../../保留部件/电池补丁/Thinkpad/各机型电池补丁/SSDT-OCBAT0-TP_re80_tx70_x1c5th_s12017_p51.html">
            
                    
                    SSDT-OCBAT0-TP_re80_tx70_x1c5th_s12017_p51.dsl
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.24.1.1.1.5" data-path="../../保留部件/电池补丁/Thinkpad/各机型电池补丁/SSDT-OCBAT0-TP_tx80_x1c6th.html">
            
                <a href="../../保留部件/电池补丁/Thinkpad/各机型电池补丁/SSDT-OCBAT0-TP_tx80_x1c6th.html">
            
                    
                    SSDT-OCBAT0-TP_tx80_x1c6th.dsl
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.24.1.1.1.6" data-path="../../保留部件/电池补丁/Thinkpad/各机型电池补丁/SSDT-OCBAT0-TP_wtx20-60_e40-70_x1c1th-3th.html">
            
                <a href="../../保留部件/电池补丁/Thinkpad/各机型电池补丁/SSDT-OCBAT0-TP_wtx20-60_e40-70_x1c1th-3th.html">
            
                    
                    SSDT-OCBAT0-TP_wtx20-60_e40-70_x1c1th-3th.dsl
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.24.1.1.1.7" data-path="../../保留部件/电池补丁/Thinkpad/各机型电池补丁/SSDT-OCBAT0-X1E_GEN3.html">
            
                <a href="../../保留部件/电池补丁/Thinkpad/各机型电池补丁/SSDT-OCBAT0-X1E_GEN3.html">
            
                    
                    SSDT-OCBAT0-X1E_GEN3.dsl
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.24.1.1.1.8" data-path="../../保留部件/电池补丁/Thinkpad/各机型电池补丁/SSDT-OCBAT1-disable-LPC.html">
            
                <a href="../../保留部件/电池补丁/Thinkpad/各机型电池补丁/SSDT-OCBAT1-disable-LPC.html">
            
                    
                    SSDT-OCBAT1-disable-LPC.dsl
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.24.1.1.1.9" data-path="../../保留部件/电池补丁/Thinkpad/各机型电池补丁/SSDT-OCBAT1-disable-LPCB.html">
            
                <a href="../../保留部件/电池补丁/Thinkpad/各机型电池补丁/SSDT-OCBAT1-disable-LPCB.html">
            
                    
                    SSDT-OCBAT1-disable-LPCB.dsl
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.24.1.1.1.10" data-path="../../保留部件/电池补丁/Thinkpad/各机型电池补丁/SSDT-OCBATC-TP-_BIX.html">
            
                <a href="../../保留部件/电池补丁/Thinkpad/各机型电池补丁/SSDT-OCBATC-TP-_BIX.html">
            
                    
                    SSDT-OCBATC-TP-_BIX.dsl
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.24.1.1.1.11" data-path="../../保留部件/电池补丁/Thinkpad/各机型电池补丁/SSDT-OCBATC-TP-LPC.html">
            
                <a href="../../保留部件/电池补丁/Thinkpad/各机型电池补丁/SSDT-OCBATC-TP-LPC.html">
            
                    
                    SSDT-OCBATC-TP-LPC.dsl
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.24.1.1.1.12" data-path="../../保留部件/电池补丁/Thinkpad/各机型电池补丁/SSDT-OCBATC-TP-LPCB.html">
            
                <a href="../../保留部件/电池补丁/Thinkpad/各机型电池补丁/SSDT-OCBATC-TP-LPCB.html">
            
                    
                    SSDT-OCBATC-TP-LPCB.dsl
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.24.1.1.2" >
            
                <span>
            
                    
                    更名样本
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.24.1.1.2.1" data-path="../../保留部件/电池补丁/Thinkpad/更名样本/TP电池基本更名.html">
            
                <a href="../../保留部件/电池补丁/Thinkpad/更名样本/TP电池基本更名.html">
            
                    
                    TP电池基本更名.plist
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.24.1.1.2.2" data-path="../../保留部件/电池补丁/Thinkpad/更名样本/TP电池Mutex置0更名.html">
            
                <a href="../../保留部件/电池补丁/Thinkpad/更名样本/TP电池Mutex置0更名.html">
            
                    
                    TP电池Mutex置0更名.plist
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.24.1.1.2.3" data-path="../../保留部件/电池补丁/Thinkpad/更名样本/BAT1禁用更名_STA to XSTA.html">
            
                <a href="../../保留部件/电池补丁/Thinkpad/更名样本/BAT1禁用更名_STA to XSTA.html">
            
                    
                    BAT1禁用更名_STA to XSTA.plist
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.24.1.1.2.4" data-path="../../保留部件/电池补丁/Thinkpad/更名样本/Notify更名.html">
            
                <a href="../../保留部件/电池补丁/Thinkpad/更名样本/Notify更名.html">
            
                    
                    Notify更名.plist
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.24.1.2" >
            
                <span>
            
                    
                    其它品牌
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.24.1.2.1" data-path="../../保留部件/电池补丁/其它品牌/SSDT-OCBAT0-ASUS_FL5900U.html">
            
                <a href="../../保留部件/电池补丁/其它品牌/SSDT-OCBAT0-ASUS_FL5900U.html">
            
                    
                    SSDT-OCBAT0-ASUS_FL5900U.dsl
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.24.1.2.2" data-path="../../保留部件/电池补丁/其它品牌/SSDT-OCBAT0-HP_840_G3.html">
            
                <a href="../../保留部件/电池补丁/其它品牌/SSDT-OCBAT0-HP_840_G3.html">
            
                    
                    SSDT-OCBAT0-HP_840_G3.dsl
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.24.1.2.3" data-path="../../保留部件/电池补丁/其它品牌/SSDT-OCBAT0-HP_Pavilion-15.html">
            
                <a href="../../保留部件/电池补丁/其它品牌/SSDT-OCBAT0-HP_Pavilion-15.html">
            
                    
                    SSDT-OCBAT0-HP_Pavilion-15.dsl
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.24.1.2.4" data-path="../../保留部件/电池补丁/其它品牌/SSDT-OCBAT0-HP_Z66-14ProG2.html">
            
                <a href="../../保留部件/电池补丁/其它品牌/SSDT-OCBAT0-HP_Z66-14ProG2.html">
            
                    
                    SSDT-OCBAT0-HP_Z66-14ProG2.dsl
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.24.1.2.5" data-path="../../保留部件/电池补丁/其它品牌/SSDT-OCBAT0-Thunderobot-Air2-911-9750h.html">
            
                <a href="../../保留部件/电池补丁/其它品牌/SSDT-OCBAT0-Thunderobot-Air2-911-9750h.html">
            
                    
                    SSDT-OCBAT0-Thunderobot-Air2-911-9750h.dsl
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.24.1.2.6" data-path="../../保留部件/电池补丁/其它品牌/SSDT-OCBAT1-lenovoPRO13.html">
            
                <a href="../../保留部件/电池补丁/其它品牌/SSDT-OCBAT1-lenovoPRO13.html">
            
                    
                    SSDT-OCBAT1-lenovoPRO13.dsl
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.24.1.2.7" data-path="../../保留部件/电池补丁/其它品牌/SSDT-OCBAT0-X2100定制机.html">
            
                <a href="../../保留部件/电池补丁/其它品牌/SSDT-OCBAT0-X2100定制机.html">
            
                    
                    SSDT-OCBAT0-X2100定制机.dsl
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.24.1.3" data-path="../../保留部件/电池补丁/电池信息辅助补丁/">
            
                <a href="../../保留部件/电池补丁/电池信息辅助补丁/">
            
                    
                    电池信息辅助补丁
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.24.1.3.1" data-path="../../保留部件/电池补丁/电池信息辅助补丁/SSDT-BATS-PRO13.html">
            
                <a href="../../保留部件/电池补丁/电池信息辅助补丁/SSDT-BATS-PRO13.html">
            
                    
                    SSDT-BATS-PRO13.dsl
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.24.1.3.2" data-path="../../保留部件/电池补丁/电池信息辅助补丁/SSDT-BATS官方.html">
            
                <a href="../../保留部件/电池补丁/电池信息辅助补丁/SSDT-BATS官方.html">
            
                    
                    SSDT-BATS官方.dsl
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.24.1.4" >
            
                <span>
            
                    
                    说明示例
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.24.1.4.1" data-path="../../保留部件/电池补丁/说明示例/DSDT.html">
            
                <a href="../../保留部件/电池补丁/说明示例/DSDT.html">
            
                    
                    DSDT.aml
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.24.1.4.2" data-path="../../保留部件/电池补丁/说明示例/SSDT-1-CB-01.html">
            
                <a href="../../保留部件/电池补丁/说明示例/SSDT-1-CB-01.html">
            
                    
                    SSDT-1-CB-01.aml
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.24.1.4.3" data-path="../../保留部件/电池补丁/说明示例/SSDT-BATT.md">
            
                <span>
            
                    
                    SSDT-BATT.dsl
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.24.2" data-path="../../保留部件/CMOS重置补丁/">
            
                <a href="../../保留部件/CMOS重置补丁/">
            
                    
                    CMOS重置补丁
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.24.2.1" data-path="../../保留部件/CMOS重置补丁/SSDT-RTC0-NoFlags.html">
            
                <a href="../../保留部件/CMOS重置补丁/SSDT-RTC0-NoFlags.html">
            
                    
                    SSDT-RTC0-NoFlags.dsl
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.25" data-path="../../常见驱动加载顺序/">
            
                <a href="../../常见驱动加载顺序/">
            
                    
                    常见驱动加载顺序
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.25.1" data-path="../../常见驱动加载顺序/config-1-Lilu-SMC-WEG-ALC驱动列表.html">
            
                <a href="../../常见驱动加载顺序/config-1-Lilu-SMC-WEG-ALC驱动列表.html">
            
                    
                    config-1-Lilu-SMC-WEG-ALC驱动列表.plist
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.25.2" data-path="../../常见驱动加载顺序/config-2-PS2键盘驱动列表.html">
            
                <a href="../../常见驱动加载顺序/config-2-PS2键盘驱动列表.html">
            
                    
                    config-2-PS2键盘驱动列表.plist
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.25.3" data-path="../../常见驱动加载顺序/config-3-BCM无线和蓝牙驱动列表.html">
            
                <a href="../../常见驱动加载顺序/config-3-BCM无线和蓝牙驱动列表.html">
            
                    
                    config-3-BCM无线和蓝牙驱动列表.plist
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.25.4" data-path="../../常见驱动加载顺序/config-4-I2C+PS2驱动列表.html">
            
                <a href="../../常见驱动加载顺序/config-4-I2C+PS2驱动列表.html">
            
                    
                    config-4-I2C+PS2驱动列表.plist
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.25.5" data-path="../../常见驱动加载顺序/config-5-PS2Smart键盘驱动列表.html">
            
                <a href="../../常见驱动加载顺序/config-5-PS2Smart键盘驱动列表.html">
            
                    
                    config-5-PS2Smart键盘驱动列表.plist
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.25.6" data-path="../../常见驱动加载顺序/config-6-Intel无线和蓝牙驱动列表.html">
            
                <a href="../../常见驱动加载顺序/config-6-Intel无线和蓝牙驱动列表.html">
            
                    
                    config-6-Intel无线和蓝牙驱动列表.plist
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    

    

    <li class="divider"></li>

    <li>
        <a href="https://www.gitbook.com" target="blank" class="gitbook-link">
            Published with GitBook
        </a>
    </li>
</ul>


                </nav>
            
        
    </div>

    <div class="book-body">
        
            <div class="body-inner">
                
                    

<div class="book-header" role="navigation">
    

    <!-- Title -->
    <h1>
        <i class="fa fa-circle-o-notch fa-spin"></i>
        <a href="../.." >00-1-ASL语法基础</a>
    </h1>
</div>




                    <div class="page-wrapper" tabindex="-1" role="main">
                        <div class="page-inner">
                            
<div id="book-search-results">
    <div class="search-noresults">
    
                                <section class="normal markdown-section">
                                
                                <h1 id="asl-&#x8BED;&#x8A00;&#x57FA;&#x7840;">ASL &#x8BED;&#x8A00;&#x57FA;&#x7840;</h1>
<blockquote>
<p>&#x672C;&#x6559;&#x7A0B;&#x8F6C;&#x8F7D;&#x81EA;&#x8FDC;&#x666F;&#x8BBA;&#x575B;&#xFF0C;&#x53D1;&#x5E03;&#x4E8E; 2011-11-21 11:16:20&#xFF0C;&#x4F5C;&#x8005;&#x4E3A;&#xFF1A;suhetao&#x3002;</p>
<p>&#x7531; Bat.bat(williambj1) &#x4E8E; 2020-2-14 &#x91CD;&#x65B0;&#x6392;&#x7248;&#x4E3A; Markdown&#xFF0C;&#x5E76;&#x5BF9;&#x90E8;&#x5206;&#x5185;&#x5BB9;&#x8FDB;&#x884C;&#x4E86;&#x6DFB;&#x52A0;&#x53CA;&#x4FEE;&#x6B63;&#x3002;</p>
<p><a href="http://bbs.pcbeta.com/forum.php?mod=viewthread&amp;tid=944566&amp;archive=2&amp;extra=page%3D1&amp;page=1" target="_blank">http://bbs.pcbeta.com/forum.php?mod=viewthread&amp;tid=944566&amp;archive=2&amp;extra=page%3D1&amp;page=1</a></p>
</blockquote>
<h2 id="&#x5199;&#x5728;&#x524D;&#x9762;&#x7684;&#x8BDD;">&#x5199;&#x5728;&#x524D;&#x9762;&#x7684;&#x8BDD;</h2>
<p>&#x9119;&#x4EBA;&#x4E0D;&#x662F;&#x4E00;&#x4E2A;&#x4E3B;&#x677F; BIOS &#x5F00;&#x53D1;&#x5DE5;&#x4F5C;&#x8005;&#xFF0C;&#x4EE5;&#x4E0B;&#x5BF9; ASL &#x7684;&#x7406;&#x89E3;&#x4EC5;&#x4EC5;&#x6765;&#x6E90;&#x4E8E; <del><a href="http://www.acpi.info/" target="_blank">http://www.acpi.info/</a></del> [&#x6CE8;: &#x5DF2;&#x5931;&#x6548;, &#x6587;&#x6863;&#x5DF2;&#x8F6C;&#x79FB;&#x81F3; <a href="https://uefi.org" target="_blank">https://uefi.org</a>] &#x4E0A;&#x7684; ACPI Specification &#x6587;&#x6863;&#x3002;&#x56E0;&#x6B64;&#x96BE;&#x514D;&#x4F1A;&#x51FA;&#x73B0;&#x4E0D;&#x5C11;&#x9519;&#x8BEF;&#x7684;&#x7406;&#x89E3;&#xFF0C;&#x4EE5;&#x53CA;&#x9519;&#x8BEF;&#x7684;&#x89C2;&#x70B9;&#xFF0C;&#x5E0C;&#x671B;&#x5927;&#x5BB6;&#x8C05;&#x89E3;&#x4EE5;&#x53CA;&#x7EA0;&#x6B63;&#x3002;</p>
<h2 id="&#x7B80;&#x8FF0;">&#x7B80;&#x8FF0;</h2>
<p>&#x9996;&#x5148;&#xFF0C;&#x4E0D;&#x5F97;&#x4E0D;&#x8BF4;&#x4E00;&#x4E0B; DSDT (Differentiated System Description Table Fields) &#x548C; SSDT (Secondary System Description Table Fields) &#x4EC0;&#x4E48;&#x662F; DSDT &#x548C; SSDT &#x5462;&#xFF1F;&#x5176;&#x5B9E;&#x5B83;&#x4EEC;&#x90FD;&#x5C5E;&#x4E8E; ACPI &#x5176;&#x4E2D;&#x7684;&#x4E00;&#x4E2A;&#x8868;&#x683C;&#xFF0C;&#x800C; ACPI &#x662F; Advanced Configuration &amp; Power Interface &#x7684;&#x7F29;&#x5199;&#xFF0C;&#x9AD8;&#x7EA7;&#x914D;&#x7F6E;&#x548C;&#x7535;&#x6E90;&#x63A5;&#x53E3;&#xFF0C;&#x4ECE;&#x6587;&#x5B57;&#x4E0A;&#x5C31;&#x53EF;&#x4EE5;&#x7406;&#x89E3; ACPI &#x662F;&#x4E00;&#x7CFB;&#x5217;&#x7684;&#x63A5;&#x53E3;&#xFF0C;&#x8FD9;&#x4E2A;&#x63A5;&#x53E3;&#x5305;&#x542B;&#x4E86;&#x5F88;&#x591A;&#x8868;&#x683C;&#xFF0C;&#x6240;&#x4EE5; DSDT &#x548C; SSDT &#x65E2;&#x662F;&#x5176;&#x4E2D;&#x7684;&#x8868;&#x683C;&#x540C;&#x65F6;&#x4E5F;&#x662F;&#x4E00;&#x4E9B;&#x63A5;&#x53E3;&#x3002;&#x6240;&#x4EE5;&#x4E0D;&#x96BE;&#x60F3;&#x8C61; ACPI &#x4E3B;&#x8981;&#x7684;&#x529F;&#x80FD;&#x5C31;&#x662F;&#x63D0;&#x4F9B;&#x64CD;&#x4F5C;&#x7CFB;&#x7EDF;&#x4E00;&#x4E9B;&#x670D;&#x52A1;&#x4EE5;&#x53CA;&#x63D0;&#x4F9B;&#x4E00;&#x4E9B;&#x8BAF;&#x606F;&#x7ED9;&#x64CD;&#x4F5C;&#x7CFB;&#x7EDF;&#x4F7F;&#x7528;&#x3002;DSDT &#x548C; SSDT &#x81EA;&#x7136;&#x4E5F;&#x4E0D;&#x4F8B;&#x5916;&#x3002;ACPI &#x7684;&#x4E00;&#x4E2A;&#x7279;&#x8272;&#x5C31;&#x662F;&#x4E13;&#x6709;&#x4E00;&#x95E8;&#x8BED;&#x8A00;&#x6765;&#x7F16;&#x5199; ACPI &#x7684;&#x90A3;&#x4E9B;&#x8868;&#x683C;&#x3002;&#x5B83;&#x5C31;&#x662F; ASL (ACPI Source Language) &#x4E5F;&#x5C31;&#x662F;&#x8FD9;&#x76D8;&#x6587;&#x7AE0;&#x7684;&#x4E3B;&#x89D2;&#xFF0C;ASL &#x7ECF;&#x8FC7;&#x7F16;&#x8BD1;&#x5668;&#x7F16;&#x8BD1;&#x540E;&#xFF0C;&#x5C31;&#x53D8;&#x6210;&#x4E86; AML (ACPI Machine Language)&#xFF0C;&#x7136;&#x540E;&#x7531;&#x64CD;&#x4F5C;&#x7CFB;&#x7EDF;&#x6765;&#x6267;&#x884C;&#x3002;&#x65E2;&#x7136; ASL &#x662F;&#x4E00;&#x95E8;&#x8BED;&#x8A00;&#xFF0C;&#x90A3;&#x5C31;&#x6709;&#x5B83;&#x7684;&#x51C6;&#x5219;&#x3002;</p>
<h2 id="asl-&#x51C6;&#x5219;">ASL &#x51C6;&#x5219;</h2>
<ol>
<li><p>&#x53D8;&#x91CF;&#x547D;&#x540D;&#x4E0D;&#x8D85;&#x8FC7; 4 &#x4E2A;&#x5B57;&#x7B26;&#xFF0C;&#x4E14;&#x4E0D;&#x80FD;&#x4EE5;&#x6570;&#x5B57;&#x5F00;&#x5934;&#x3002;&#x8054;&#x60F3;&#x4E00;&#x4E0B;&#x770B;&#x5230;&#x8FC7;&#x7684; DSDT &#x4EE3;&#x7801;&#x770B;&#x770B;&#xFF0C;&#x7EDD;&#x5BF9;&#x4E0D;&#x4F1A;&#x8D85;&#x8FC7;&#x3002;</p>
</li>
<li><p>Scope &#x5F62;&#x6210;&#x4F5C;&#x7528;&#x57DF;&#xFF0C;&#x6982;&#x5FF5;&#x7C7B;&#x4F3C;&#x4E8E;&#x6570;&#x5B66;&#x4E2D;&#x7684;&#x96C6;&#x5408; <code>{}</code>&#x3002;&#x6709;&#x4E14;&#x4EC5;&#x6709;&#x4E00;&#x4E2A;&#x6839;&#x4F5C;&#x7528;&#x57DF;&#xFF0C;&#x6240;&#x4EE5; DSDT &#x90FD;&#x4EE5;</p>
<pre><code class="lang-swift"><span class="hljs-type">DefinitionBlock</span> (<span class="hljs-string">&quot;xxxx&quot;</span>, <span class="hljs-string">&quot;DSDT&quot;</span>, <span class="hljs-number">0x02</span>, <span class="hljs-string">&quot;xxxx&quot;</span>, <span class="hljs-string">&quot;xxxx&quot;</span>, xxxx)
{
</code></pre>
<p>&#x5F00;&#x59CB;&#xFF0C;&#x540C;&#x65F6;&#x4EE5;</p>
<pre><code class="lang-swift">}
</code></pre>
<p>&#x7ED3;&#x675F;&#x3002;&#x8FD9;&#x4E2A;&#x5C31;&#x662F;&#x6839;&#x4F5C;&#x7528;&#x57DF;.</p>
<p><code>xxxx</code> &#x53C2;&#x6570;&#x4F9D;&#x6B21;&#x8868;&#x793A;&#x8F93;&#x51FA; <code>&#x6587;&#x4EF6;&#x540D;</code>&#x3001;<code>OEMID</code>&#x3001;<code>&#x8868;ID</code>&#x3001;<code>OEM&#x7248;&#x672C;</code>&#x3002;&#x7B2C;&#x4E09;&#x4E2A;&#x53C2;&#x6570;&#x6839;&#x636E;&#x7B2C;&#x4E8C;&#x4E2A;&#x53C2;&#x6570;&#x6307;&#x5B9A;&#xFF0C;&#x5982;&#x4E0A;&#x9762;&#x6240;&#x793A;&#x3002;&#x5982;&#x679C;&#x662F; <strong><code>DSDT</code></strong> &#x5C31;&#x4E00;&#x5B9A;&#x662F; <code>0x02</code>&#xFF0C;&#x5176;&#x4ED6;&#x53C2;&#x6570;&#x90FD;&#x53EF;&#x4EE5;&#x81EA;&#x7531;&#x4FEE;&#x6539;&#x3002;</p>
</li>
<li><p>&#x4EE5; <code>_</code> &#x5B57;&#x7B26;&#x5F00;&#x5934;&#x7684;&#x51FD;&#x6570;&#x548C;&#x53D8;&#x91CF;&#x90FD;&#x662F;&#x7CFB;&#x7EDF;&#x4FDD;&#x7559;&#x7684;&#xFF0C;&#x8FD9;&#x5C31;&#x662F;&#x4E3A;&#x4EC0;&#x4E48;&#x53CD;&#x7F16;&#x8BD1;&#x67D0;&#x4E9B;AML&#x4EE5;&#x540E;&#x5F97;&#x5230;&#x7684; ASL &#x51FA;&#x73B0; <code>_T_X</code>&#xFF0C;&#x91CD;&#x65B0;&#x7F16;&#x8BD1;&#x7684;&#x65F6;&#x5019;&#x4F1A;&#x51FA;&#x73B0;&#x8B66;&#x544A;&#x3002;</p>
</li>
<li><p><code>Method</code> &#x5B9A;&#x4E49;&#x51FD;&#x6570;&#xFF0C;&#x51FD;&#x6570;&#x53EF;&#x4EE5;&#x5B9A;&#x4E49;&#x5728; <code>Device</code> &#x4E0B;&#x6216;&#x8005; <code>Scope</code> &#x4E0B;&#xFF0C;&#x4F46;&#x662F;&#x4E0D;&#x80FD;&#x8131;&#x79BB; <code>Scope</code> &#x5B9A;&#x4E49;&#x5355;&#x72EC;&#x7684;&#x51FD;&#x6570;&#xFF0C;&#x6240;&#x4EE5;<strong>&#x4E0D;&#x4F1A;&#x6709;</strong> &#x4EE5;&#x4E0B;&#x8FD9;&#x79CD;&#x60C5;&#x51B5;&#x51FA;&#x73B0;&#x3002;</p>
<pre><code class="lang-swift"><span class="hljs-type">Method</span> (xxxx, <span class="hljs-number">0</span>, <span class="hljs-type">NotSerialized</span>)
{
    ...
}
<span class="hljs-type">DefinitionBlock</span> (<span class="hljs-string">&quot;xxxx&quot;</span>, <span class="hljs-string">&quot;DSDT&quot;</span>, <span class="hljs-number">0x02</span>, <span class="hljs-string">&quot;xxxx&quot;</span>, <span class="hljs-string">&quot;xxxx&quot;</span>, xxxx)
{
    ...
}
</code></pre>
</li>
<li><p>&#x6839;&#x4F5C;&#x7528;&#x57DF; <code>\</code> &#x4E0B;&#x6709; <code>\_GPE</code>&#xFF0C;<code>\_PR</code>&#xFF0C;<code>\_SB</code>&#xFF0C;<code>\_SI</code>&#xFF0C;<code>\_TZ</code> &#x4E94;&#x4E2A;&#x4F5C;&#x7528;&#x57DF;&#x3002;</p>
<ul>
<li><code>\_GPE</code>--- ACPI &#x4E8B;&#x4EF6;&#x5904;&#x7406;</li>
<li><code>\_PR</code> --- &#x5904;&#x7406;&#x5668;</li>
<li><code>\_SB</code> --- &#x6240;&#x6709;&#x7684;&#x8BBE;&#x5907;&#x548C;&#x603B;&#x7EBF;</li>
<li><code>\_SI</code> --- &#x7CFB;&#x7EDF;&#x6307;&#x793A;&#x706F;</li>
<li><code>\_TZ</code> --- &#x70ED;&#x533A;&#xFF0C;&#x7528;&#x4E8E;&#x8BFB;&#x53D6;&#x67D0;&#x4E9B;&#x6E29;&#x5EA6;</li>
</ul>
<blockquote>
<p><strong>&#x4E0D;&#x540C;&#x5C5E;&#x6027;&#x7684;&#x4E1C;&#x897F;&#x653E;&#x5728;&#x5BF9;&#x5E94;&#x7684;&#x4F5C;&#x7528;&#x57DF;&#x4E0B;&#x3002;&#x4F8B;&#x5982;:</strong></p>
</blockquote>
<ul>
<li><p>&#x8BBE;&#x5907; <code>Device (PCI0)</code> &#x653E;&#x5728; <code>Scope (\_SB)</code> &#x91CC;&#x9762;</p>
<pre><code class="lang-swift"><span class="hljs-type">Scope</span> (\_SB)
{
    <span class="hljs-type">Device</span> (<span class="hljs-type">PCI0</span>)
    {
        ...
    }
    ...
}
</code></pre>
</li>
<li><p>CPU &#x76F8;&#x5173;&#x7684;&#x4FE1;&#x606F;&#x653E;&#x5728; <code>Scope (_PR)</code></p>
<blockquote>
<p>&#x4E0D;&#x540C;&#x7684; CPU &#x6240;&#x5728;&#x7684;&#x57DF;&#x4F1A;&#x4E0D;&#x540C;&#xFF0C;&#x5E38;&#x89C1;&#x7684;&#x6709; <code>_PR</code>&#xFF0C;<code>_SB</code>&#xFF0C;<code>SCK0</code> &#x7B49;</p>
</blockquote>
<pre><code class="lang-swift"><span class="hljs-type">Scope</span> (_PR)
{
    <span class="hljs-type">Processor</span> (<span class="hljs-type">CPU0</span>, <span class="hljs-number">0x00</span>, <span class="hljs-number">0x00000410</span>, <span class="hljs-number">0x06</span>)
    {
        ...
    }
    ...
}
</code></pre>
</li>
<li><p><code>Scope (_GPE)</code> &#x653E;&#x7740;&#x76F8;&#x5173;&#x7684;&#x4E8B;&#x4EF6;&#x5904;&#x7406;</p>
<pre><code class="lang-swift"> <span class="hljs-type">Scope</span> (_GPE)
 {
     <span class="hljs-type">Method</span> (_L0D, <span class="hljs-number">0</span>, <span class="hljs-type">NotSerialized</span>)
     {
         ...
     }
     ...
 }
</code></pre>
<p> &#x4E4D;&#x4E00;&#x770B;&#x4E0D;&#x662F;&#x51FD;&#x6570;&#x5417;&#xFF1F;&#x5F53;&#x7136;&#x51FD;&#x6570;&#x4E5F;&#x53EF;&#x4EE5;&#x653E;&#x5728;&#x8FD9;&#x91CC;&#x3002;&#x4F46;&#x662F;&#x8BF7;&#x6CE8;&#x610F;&#x51FD;&#x6570;&#x540D; <strong><code>_</code></strong> &#x5F00;&#x5934;&#x7684;&#x662F;&#x7CFB;&#x7EDF;&#x4FDD;&#x7559;&#x7684;&#x51FD;&#x6570;&#x3002;</p>
</li>
</ul>
</li>
<li><p><code>Device (xxxx)</code> &#x4E5F;&#x53EF;&#x770B;&#x505A;&#x662F;&#x4E00;&#x4E2A;&#x4F5C;&#x7528;&#x57DF;&#xFF0C;&#x91CC;&#x9762;&#x5305;&#x542B;&#x5BF9;&#x8BBE;&#x5907;&#x7684;&#x5404;&#x79CD;&#x63CF;&#x8FF0;&#xFF0C;&#x4F8B;&#x5982; <code>_ADR</code>&#x3001;<code>_CID</code>&#x3001;<code>_UID</code>&#x3001;<code>_DSM</code>&#x3001;<code>_STA</code> &#x7B49;&#x5BF9;&#x8BBE;&#x5907;&#x7684;&#x8BF4;&#x660E;&#x548C;&#x72B6;&#x6001;&#x63A7;&#x5236;</p>
</li>
<li><p>&#x7B26;&#x53F7; <code>\</code> &#x5F15;&#x7528;&#x6839;&#x4F5C;&#x7528;&#x57DF;&#xFF0C;<code>^</code> &#x5F15;&#x7528;&#x4E0A;&#x7EA7;&#x4F5C;&#x7528;&#x57DF;&#xFF0C;&#x540C;&#x7406; <code>^^</code> &#x4E3A; <code>^</code> &#x7684;&#x4E0A;&#x7EA7;&#x4F5C;&#x7528;&#x57DF;</p>
</li>
<li><p>&#x7B26;&#x53F7; <code>_</code> &#x672C;&#x8EAB;&#x6CA1;&#x6709;&#x4EFB;&#x4F55;&#x610F;&#x4E49;&#xFF0C;&#x5728; ASL &#x4E2D;&#x53EA;&#x7528;&#x4E8E;&#x8865;&#x9F50;&#x4F4D;&#x7F6E;&#xFF0C;&#x5982; <code>_OSI</code> &#x7684; <code>_</code> &#x7528;&#x4E8E;&#x8865;&#x9F50; <code>Method</code> &#x540D;&#x79F0;&#x6240;&#x9700;&#x7684;&#x56DB;&#x4E2A;&#x5B57;&#x7B26;</p>
</li>
<li><p>ACPI &#x4E3A;&#x4E86;&#x66F4;&#x597D;&#x7406;&#x89E3;&#xFF0C;&#x89C4;&#x8303;&#x540E;&#x6765;&#x4F7F;&#x7528;&#x4E86;&#x65B0;&#x7684; ASL &#x8BED;&#x6CD5; ASL 2.0 (&#x4E5F;&#x53EB;&#x505A; ASL+), &#x65B0;&#x8BED;&#x6CD5;&#x5F15;&#x5165;&#x4E86;&#x4E0E; C &#x8BED;&#x8A00;&#x7B49;&#x540C;&#x7684; <code>+-*/=</code>, <code>&lt;&lt;</code>, <code>&gt;&gt;</code> &#x548C;&#x903B;&#x8F91;&#x5224;&#x65AD; <code>==</code>, <code>!=</code> &#x7B49;&#x7B49;</p>
</li>
<li><p>&#x51FD;&#x6570;&#x6700;&#x591A;&#x53EF;&#x4EE5;&#x4F20;&#x9012; 7 &#x4E2A;&#x53C2;&#x6570;&#xFF0C;&#x5728;&#x51FD;&#x6570;&#x91CC;&#x7528; <code>Arg0</code>~<code>Arg6</code> &#x8868;&#x793A;&#xFF0C;&#x4E0D;&#x53EF;&#x4EE5;&#x81EA;&#x5B9A;&#x4E49;&#x3002;</p>
</li>
<li><p>&#x51FD;&#x6570;&#x6700;&#x591A;&#x53EF;&#x4EE5;&#x7528; 8 &#x4E2A;&#x5C40;&#x90E8;&#x53D8;&#x91CF;&#xFF0C;&#x7528; <code>Local0</code>~<code>Local7</code>&#xFF0C;&#x4E0D;&#x7528;&#x5B9A;&#x4E49;&#xFF0C;&#x4F46;&#x662F;&#x9700;&#x8981;&#x521D;&#x59CB;&#x5316;&#x624D;&#x80FD;&#x4F7F;&#x7528;&#xFF0C;&#x4E5F;&#x5C31;&#x662F;&#x4E00;&#x5B9A;&#x8981;&#x6709;&#x4E00;&#x6B21;&#x8D4B;&#x503C;&#x64CD;&#x4F5C;&#x3002;</p>
</li>
</ol>
<h2 id="asl-&#x5E38;&#x7528;&#x7684;&#x6570;&#x636E;&#x7C7B;&#x578B;">ASL &#x5E38;&#x7528;&#x7684;&#x6570;&#x636E;&#x7C7B;&#x578B;</h2>
<table>
<thead>
<tr>
<th style="text-align:center">ASL</th>
<th style="text-align:center">&#x4E2D;&#x6587;</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:center"><code>Integer</code></td>
<td style="text-align:center">&#x6574;&#x6570;</td>
</tr>
<tr>
<td style="text-align:center"><code>String</code></td>
<td style="text-align:center">&#x5B57;&#x7B26;&#x4E32;</td>
</tr>
<tr>
<td style="text-align:center"><code>Event</code></td>
<td style="text-align:center">&#x4E8B;&#x4EF6;</td>
</tr>
<tr>
<td style="text-align:center"><code>Buffer</code></td>
<td style="text-align:center">&#x6570;&#x7EC4;</td>
</tr>
<tr>
<td style="text-align:center"><code>Package</code></td>
<td style="text-align:center">&#x5BF9;&#x8C61;&#x96C6;&#x5408;</td>
</tr>
</tbody>
</table>
<h2 id="asl-&#x5B9A;&#x4E49;&#x53D8;&#x91CF;">ASL &#x5B9A;&#x4E49;&#x53D8;&#x91CF;</h2>
<ul>
<li><p>&#x5B9A;&#x4E49;&#x6574;&#x6570;</p>
<pre><code class="lang-swift"><span class="hljs-type">Name</span> (<span class="hljs-type">TEST</span>, <span class="hljs-number">0</span>)
</code></pre>
</li>
<li><p>&#x5B9A;&#x4E49;&#x5B57;&#x7B26;&#x4E32;</p>
<pre><code class="lang-swift"><span class="hljs-type">Name</span> (<span class="hljs-type">MSTR</span>,<span class="hljs-string">&quot;ASL&quot;</span>)
</code></pre>
</li>
<li><p>&#x5B9A;&#x4E49; Package</p>
<pre><code class="lang-swift"><span class="hljs-type">Name</span> (_PRW, <span class="hljs-type">Package</span> (<span class="hljs-number">0x02</span>)
{
    <span class="hljs-number">0x0D</span>,
    <span class="hljs-number">0x03</span>
})
</code></pre>
</li>
<li><p>&#x5B9A;&#x4E49; Buffer Field</p>
<blockquote>
<p>Buffer Field &#x4E00;&#x5171;&#x6709; 6 &#x79CD;&#xFF0C;&#x5206;&#x522B;&#x662F;</p>
</blockquote>
</li>
</ul>
<table>
<thead>
<tr>
<th style="text-align:center">&#x521B;&#x5EFA;&#x8BED;&#x53E5;</th>
<th style="text-align:center">&#x5927;&#x5C0F;</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:center">CreateBitField</td>
<td style="text-align:center">1-Bit</td>
</tr>
<tr>
<td style="text-align:center">CreateByteField</td>
<td style="text-align:center">8-Bit</td>
</tr>
<tr>
<td style="text-align:center">CreateWordField</td>
<td style="text-align:center">16-Bit</td>
</tr>
<tr>
<td style="text-align:center">CreateDWordField</td>
<td style="text-align:center">32-Bit</td>
</tr>
<tr>
<td style="text-align:center">CreateQWordField</td>
<td style="text-align:center">64-Bit</td>
</tr>
<tr>
<td style="text-align:center">CreateField</td>
<td style="text-align:center">&#x4EFB;&#x610F;&#x5927;&#x5C0F;</td>
</tr>
</tbody>
</table>
<pre><code class="lang-swift">  <span class="hljs-type">CreateBitField</span> (<span class="hljs-type">AAAA</span>, <span class="hljs-type">Zero</span>, <span class="hljs-type">CCCC</span>)
  <span class="hljs-type">CreateByteField</span> (<span class="hljs-type">DDDD</span>, <span class="hljs-number">0x01</span>, <span class="hljs-type">EEEE</span>)
  <span class="hljs-type">CreateWordField</span> (<span class="hljs-type">FFFF</span>, <span class="hljs-number">0x05</span>, <span class="hljs-type">GGGG</span>)
  <span class="hljs-type">CreateDWordField</span> (<span class="hljs-type">HHHH</span>, <span class="hljs-number">0x06</span>, <span class="hljs-type">IIII</span>)
  <span class="hljs-type">CreateQWordField</span> (<span class="hljs-type">JJJJ</span>, <span class="hljs-number">0x14</span>, <span class="hljs-type">KKKK</span>)
  <span class="hljs-type">CreateField</span> (<span class="hljs-type">LLLL</span>, <span class="hljs-type">Local0</span>, <span class="hljs-number">0x38</span>, <span class="hljs-type">MMMM</span>)
</code></pre>
<p>&#x53EF;&#x4EE5;&#x53D1;&#x73B0;&#x5B9A;&#x4E49;&#x53D8;&#x91CF;&#x7684;&#x65F6;&#x5019;&#x4E0D;&#x9700;&#x8981;&#x663E;&#x5F0F;&#x58F0;&#x660E;&#x5176;&#x7C7B;&#x578B;</p>
<h2 id="asl-&#x8D4B;&#x503C;&#x65B9;&#x6CD5;">ASL &#x8D4B;&#x503C;&#x65B9;&#x6CD5;</h2>
<p>&#x8D4B;&#x503C;&#x65B9;&#x6CD5;&#x6709;&#x4E14;&#x4EC5;&#x6709;&#x4E00;&#x4E2A;</p>
<pre><code class="lang-swift"><span class="hljs-type">Store</span> (a,b) <span class="hljs-comment">/* &#x4F20;&#x7EDF; ASL */</span>
b = a      <span class="hljs-comment">/*   ASL+  */</span>
</code></pre>
<p>&#x4F8B;&#x5B50;:</p>
<pre><code class="lang-swift"><span class="hljs-type">Store</span> (<span class="hljs-number">0</span>, <span class="hljs-type">Local0</span>)
<span class="hljs-type">Local0</span> = <span class="hljs-number">0</span>

<span class="hljs-type">Store</span> (<span class="hljs-type">Local0</span>, <span class="hljs-type">Local1</span>)
<span class="hljs-type">Local1</span> = <span class="hljs-type">Local0</span>
</code></pre>
<h2 id="asl-&#x8FD0;&#x7B97;&#x51FD;&#x6570;">ASL &#x8FD0;&#x7B97;&#x51FD;&#x6570;</h2>
<table>
<thead>
<tr>
<th style="text-align:center">ASL+</th>
<th style="text-align:center">&#x4F20;&#x7EDF; ASL</th>
<th style="text-align:center">&#x4E2D;&#x6587;&#x542B;&#x4E49;</th>
<th style="text-align:left">&#x4E3E;&#x4F8B;</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:center">+</td>
<td style="text-align:center">Add</td>
<td style="text-align:center">&#x6574;&#x6570;&#x76F8;&#x52A0;</td>
<td style="text-align:left"><code>Local0 = 1 + 2</code><br><code>Add (1, 2, Local0)</code></td>
</tr>
<tr>
<td style="text-align:center">-</td>
<td style="text-align:center">Subtract</td>
<td style="text-align:center">&#x6574;&#x6570;&#x51CF;&#x6CD5;</td>
<td style="text-align:left"><code>Local0 = 2 - 1</code><br><code>Subtract (2, 1, Local0)</code></td>
</tr>
<tr>
<td style="text-align:center">*</td>
<td style="text-align:center">Multiply</td>
<td style="text-align:center">&#x6574;&#x6570;&#x76F8;&#x4E58;</td>
<td style="text-align:left"><code>Local0 = 1 * 2</code><br><code>Multiply (1, 2, Local0)</code></td>
</tr>
<tr>
<td style="text-align:center">/</td>
<td style="text-align:center">Divide</td>
<td style="text-align:center">&#x6574;&#x6570;&#x9664;&#x6CD5;</td>
<td style="text-align:left"><code>Local0 = 10 / 9</code><br><code>Divide (10, 9, Local1(&#x4F59;&#x6570;), Local0(&#x7ED3;&#x679C;))</code></td>
</tr>
<tr>
<td style="text-align:center">%</td>
<td style="text-align:center">Mod</td>
<td style="text-align:center">&#x6574;&#x6570;&#x6C42;&#x4F59;</td>
<td style="text-align:left"><code>Local0 = 10 % 9</code><br><code>Mod (10, 9, Local0)</code></td>
</tr>
<tr>
<td style="text-align:center">&lt;&lt;</td>
<td style="text-align:center">ShiftLeft</td>
<td style="text-align:center">&#x5DE6;&#x79FB;</td>
<td style="text-align:left"><code>Local0 = 1 &lt;&lt; 20</code><br><code>ShiftLeft (1, 20, Local0)</code></td>
</tr>
<tr>
<td style="text-align:center">&gt;&gt;</td>
<td style="text-align:center">ShiftRight</td>
<td style="text-align:center">&#x53F3;&#x79FB;</td>
<td style="text-align:left"><code>Local0 = 0x10000 &gt;&gt; 4</code><br><code>ShiftRight (0x10000, 4, Local0)</code></td>
</tr>
<tr>
<td style="text-align:center">--</td>
<td style="text-align:center">Decrement</td>
<td style="text-align:center">&#x6574;&#x6570;&#x81EA;&#x51CF; 1</td>
<td style="text-align:left"><code>Local0--</code><br><code>Decrement (Local0)</code></td>
</tr>
<tr>
<td style="text-align:center">++</td>
<td style="text-align:center">Increment</td>
<td style="text-align:center">&#x6574;&#x6570;&#x81EA;&#x589E; 1</td>
<td style="text-align:left"><code>Local0++</code><br><code>Increment (Local0)</code></td>
</tr>
<tr>
<td style="text-align:center">&amp;</td>
<td style="text-align:center">And</td>
<td style="text-align:center">&#x6574;&#x6570;&#x4E8E;</td>
<td style="text-align:left"><code>Local0 = 0x11 &amp; 0x22</code><br><code>And (0x11, 0x22, Local0)</code></td>
</tr>
<tr>
<td style="text-align:center">|</td>
<td style="text-align:center">Or</td>
<td style="text-align:center">&#x6216;</td>
<td style="text-align:left"><code>Local0 = 0x01</code>|<code>0x02</code><br><code>Or (0x01, 0x02, Local0)</code></td>
</tr>
<tr>
<td style="text-align:center">~</td>
<td style="text-align:center">Not</td>
<td style="text-align:center">&#x53D6;&#x53CD;</td>
<td style="text-align:left"><code>Local0 = ~(0x00)</code><br><code>Not (0x00,Local0)</code></td>
</tr>
<tr>
<td style="text-align:center">&#x65E0;</td>
<td style="text-align:center">Nor</td>
<td style="text-align:center">&#x5F02;&#x6216;</td>
<td style="text-align:left"><code>Nor (0x11, 0x22, Local0)</code></td>
</tr>
</tbody>
</table>
<p>&#x7B49;&#x7B49;&#xFF0C;&#x5177;&#x4F53;&#x8BF7;&#x67E5;&#x9605; ACPI Specification</p>
<h2 id="asl-&#x903B;&#x8F91;&#x8FD0;&#x7B97;">ASL &#x903B;&#x8F91;&#x8FD0;&#x7B97;</h2>
<table>
<thead>
<tr>
<th style="text-align:center">ASL+</th>
<th style="text-align:center">&#x4F20;&#x7EDF; ASL</th>
<th style="text-align:center">&#x4E2D;&#x6587;&#x542B;&#x4E49;</th>
<th style="text-align:left">&#x4E3E;&#x4F8B;</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:center">&amp;&amp;</td>
<td style="text-align:center">LAnd</td>
<td style="text-align:center">&#x903B;&#x8F91;&#x4E0E;</td>
<td style="text-align:left"><code>If (BOL1 &amp;&amp; BOL2)</code><br><code>If (LAnd(BOL1, BOL2))</code></td>
</tr>
<tr>
<td style="text-align:center">!</td>
<td style="text-align:center">LNot</td>
<td style="text-align:center">&#x903B;&#x8F91;&#x53CD;</td>
<td style="text-align:left"><code>Local0 = !0</code><br><code>Store (LNot(0), Local0)</code></td>
</tr>
<tr>
<td style="text-align:center">|</td>
<td style="text-align:center">LOr</td>
<td style="text-align:center">&#x903B;&#x8F91;&#x6216;</td>
<td style="text-align:left"><code>Local0 = (0</code>|<code>1)</code><br><code>Store (LOR(0, 1), Local0)</code></td>
</tr>
<tr>
<td style="text-align:center">&lt;</td>
<td style="text-align:center">LLess</td>
<td style="text-align:center">&#x903B;&#x8F91;&#x5C0F;&#x4E8E;</td>
<td style="text-align:left"><code>Local0 = (1 &lt; 2)</code><br><code>Store (LLess(1, 2), Local0)</code></td>
</tr>
<tr>
<td style="text-align:center">&lt;=</td>
<td style="text-align:center">LLessEqual</td>
<td style="text-align:center">&#x903B;&#x8F91;&#x5C0F;&#x4E8E;&#x7B49;&#x4E8E;</td>
<td style="text-align:left"><code>Local0 = (1 &lt;= 2)</code><br><code>Store (LLessEqual(1, 2), Local0)</code></td>
</tr>
<tr>
<td style="text-align:center">&gt;</td>
<td style="text-align:center">LGreater</td>
<td style="text-align:center">&#x903B;&#x8F91;&#x5927;&#x4E8E;</td>
<td style="text-align:left"><code>Local0 = (1 &gt; 2)</code><br><code>Store (LGreater(1, 2), Local0)</code></td>
</tr>
<tr>
<td style="text-align:center">&gt;=</td>
<td style="text-align:center">LGreaterEqual</td>
<td style="text-align:center">&#x903B;&#x8F91;&#x5927;&#x4E8E;&#x7B49;&#x4E8E;</td>
<td style="text-align:left"><code>Local0 = (1 &gt;= 2)</code><br><code>Store (LGreaterEqual(1, 2), Local0)</code></td>
</tr>
<tr>
<td style="text-align:center">==</td>
<td style="text-align:center">LEqual</td>
<td style="text-align:center">&#x903B;&#x8F91;&#x76F8;&#x7B49;</td>
<td style="text-align:left"><code>Local0 = (Local0 == Local1)</code><br><code>If (LEqual(Local0, Local1))</code></td>
</tr>
<tr>
<td style="text-align:center">!=</td>
<td style="text-align:center">LNotEqual</td>
<td style="text-align:center">&#x903B;&#x8F91;&#x4E0D;&#x7B49;&#x4E8E;</td>
<td style="text-align:left"><code>Local0 = (0 != 1)</code><br><code>Store (LNotEqual(0, 1), Local0)</code></td>
</tr>
</tbody>
</table>
<p>&#x4E0D;&#x96BE;&#x53D1;&#x73B0;&#x903B;&#x8F91;&#x8FD0;&#x7B97;&#x53EA;&#x4F1A;&#x6709;&#x4E24;&#x79CD;&#x7ED3;&#x679C; <code>0</code> &#x6216;&#x8005; <code>1</code></p>
<h2 id="asl-&#x51FD;&#x6570;&#x7684;&#x5B9A;&#x4E49;">ASL &#x51FD;&#x6570;&#x7684;&#x5B9A;&#x4E49;</h2>
<ol>
<li><p>&#x5B9A;&#x4E49;&#x51FD;&#x6570;</p>
<pre><code class="lang-swift"><span class="hljs-type">Method</span> (<span class="hljs-type">TEST</span>)
{
    ...
}
</code></pre>
</li>
<li><p>&#x5B9A;&#x4E49;&#x6709;&#x4E24;&#x4E2A;&#x8F93;&#x5165;&#x53C2;&#x6570;&#x7684;&#x51FD;&#x6570;&#xFF0C;&#x4EE5;&#x53CA;&#x4F7F;&#x7528;&#x5C40;&#x90E8;&#x53D8;&#x91CF; <code>Local0</code>~<code>Local7</code></p>
<p>&#x53C2;&#x6570;&#x4E2A;&#x6570;&#x5982;&#x679C;&#x4E0D;&#x5B9A;&#x4E49;&#x9ED8;&#x8BA4;&#x662F; <code>0</code></p>
<pre><code class="lang-swift"><span class="hljs-type">Method</span> (<span class="hljs-type">MADD</span>, <span class="hljs-number">2</span>)
{
    <span class="hljs-type">Local0</span> = <span class="hljs-type">Arg0</span>
    <span class="hljs-type">Local1</span> = <span class="hljs-type">Arg1</span>
    <span class="hljs-type">Local0</span> += <span class="hljs-type">Local1</span>
}
</code></pre>
<p>&#x5B9E;&#x73B0;&#x4E86;&#x4E24;&#x4E2A;&#x53C2;&#x6570;&#x7684;&#x52A0;&#x6CD5;&#x8FD0;&#x7B97;&#xFF0C;&#x56E0;&#x6B64;&#x4F20;&#x5165;&#x7684;&#x53C2;&#x6570;&#x4E00;&#x5B9A;&#x8981;&#x9690;&#x5F0F;&#x6574;&#x5F62;&#x6570;&#x3002;</p>
</li>
<li><p>&#x5B9A;&#x4E49;&#x5E26;&#x8FD4;&#x56DE;&#x503C;&#x7684;&#x51FD;&#x6570;</p>
<pre><code class="lang-swift"><span class="hljs-type">Method</span> (<span class="hljs-type">MADD</span>, <span class="hljs-number">2</span>)
{
    <span class="hljs-type">Local0</span> = <span class="hljs-type">Arg0</span>
    <span class="hljs-type">Local1</span> = <span class="hljs-type">Arg1</span>
    <span class="hljs-type">Local0</span> += <span class="hljs-type">Local1</span>

    <span class="hljs-type">Return</span> (<span class="hljs-type">Local0</span>) <span class="hljs-comment">/* &#x5728;&#x6B64;&#x5904;&#x8FD4;&#x56DE; */</span>
}
</code></pre>
<p>&#x4F8B;&#x5B50;&#x4E3A;&#x81EA;&#x5B9A;&#x4E49;&#x52A0;&#x6CD5;&#x7684;&#x5B9E;&#x73B0;&#x3002;&#x51FD;&#x6570;&#x5B9E;&#x73B0;&#x7684;&#x662F;&#x5982;&#x540C;&#x7CFB;&#x7EDF;&#x51FD;&#x6570; Add &#x4E00;&#x6837;&#x7684;&#x76F8;&#x52A0;</p>
<pre><code class="lang-swift"><span class="hljs-type">Local0</span> = <span class="hljs-number">1</span> + <span class="hljs-number">2</span>            <span class="hljs-comment">/* ASL+ */</span>
<span class="hljs-type">Store</span> (<span class="hljs-type">MADD</span> (<span class="hljs-number">1</span>, <span class="hljs-number">2</span>), <span class="hljs-type">Local0</span>)  <span class="hljs-comment">/* &#x4F20;&#x7EDF; ASL */</span>
</code></pre>
</li>
<li><p>&#x5B9A;&#x4E49;&#x53EF;&#x5E8F;&#x5217;&#x5316;&#x7684;&#x51FD;&#x6570;</p>
<p>&#x5982;&#x679C;&#x4E0D;&#x5B9A;&#x4E49; <code>Serialized</code> &#x6216;&#x8005; <code>NotSerialized</code> &#x9ED8;&#x8BA4;&#x4E3A; <code>NotSerialized</code></p>
<pre><code class="lang-swift"><span class="hljs-type">Method</span> (<span class="hljs-type">MADD</span>, <span class="hljs-number">2</span>, <span class="hljs-type">Serialized</span>)
{
    <span class="hljs-type">Local0</span> = <span class="hljs-type">Arg0</span>
    <span class="hljs-type">Local1</span> = <span class="hljs-type">Arg1</span>
    <span class="hljs-type">Local0</span> += <span class="hljs-type">Local1</span>
    <span class="hljs-type">Return</span> (<span class="hljs-type">Local0</span>)
}
</code></pre>
<p>&#x8FD9;&#x4E2A;&#x6709;&#x70B9;&#x7C7B;&#x4F3C;&#x4E8E;&#x591A;&#x7EBF;&#x7A0B;&#x540C;&#x6B65;&#x7684;&#x6982;&#x5FF5;&#xFF0C;&#x4E5F;&#x5C31;&#x662F;&#x8BF4;&#xFF0C;&#x5F53;&#x51FD;&#x6570;&#x58F0;&#x660E;&#x4E3A; <code>Serialized</code>&#xFF0C;&#x5185;&#x5B58;&#x4E2D;&#x4EC5;&#x80FD;&#x5B58;&#x5728;&#x4E00;&#x4E2A;&#x5B9E;&#x4F8B;&#x3002;&#x4E00;&#x822C;&#x5E94;&#x7528;&#x5728;&#x51FD;&#x6570;&#x4E2D;&#x521B;&#x5EFA;&#x4E00;&#x4E2A;&#x5BF9;&#x8C61;&#x3002;&#x5E94;&#x7528;&#x4E3E;&#x4F8B;&#x8BF4;&#x660E;&#xFF1A;</p>
<pre><code class="lang-swift"><span class="hljs-type">Method</span> (<span class="hljs-type">TEST</span>, <span class="hljs-type">Serialized</span>)
{
    <span class="hljs-type">Name</span> (<span class="hljs-type">MSTR</span>,<span class="hljs-string">&quot;I will sucess&quot;</span>)
}
</code></pre>
<p>&#x5982;&#x679C;&#x8FD9;&#x6837;&#x5B50;&#x58F0;&#x660E; <code>TEST</code> &#x8FD9;&#x4E2A;&#x51FD;&#x6570;&#xFF0C;&#x90A3;&#x4E48;&#x5728;&#x4E24;&#x4E2A;&#x5730;&#x65B9;&#x540C;&#x65F6;&#x8C03;&#x7528;&#x8FD9;&#x4E2A;&#x51FD;&#x6570;</p>
<pre><code class="lang-swift"><span class="hljs-type">Device</span> (<span class="hljs-type">Dev1</span>)
{
     <span class="hljs-type">TEST</span> ()
}
<span class="hljs-type">Device</span> (<span class="hljs-type">Dev2</span>)
{
     <span class="hljs-type">TEST</span> ()
}
</code></pre>
<p>&#x5982;&#x679C;&#x5148;&#x6267;&#x884C; <code>Dev1</code> &#x7684; <code>TEST</code>, <code>Dev2</code> &#x4E2D;&#x7684; <code>TEST</code> &#x5C06;&#x7B49;&#x5F85; <code>Dev1</code> &#x4E2D;&#x7684; <code>TEST</code> &#x51FD;&#x6570;&#x6267;&#x884C;&#x5B8C;&#x6BD5;&#x518D;&#x6267;&#x884C;&#x3002;&#x5982;&#x679C;&#x58F0;&#x660E;&#x4E3A;</p>
<pre><code class="lang-swift"><span class="hljs-type">Method</span> (<span class="hljs-type">TEST</span>, <span class="hljs-type">NotSerialized</span>)
{
    <span class="hljs-type">Name</span> (<span class="hljs-type">MSTR</span>, <span class="hljs-string">&quot;I will sucess&quot;</span>)
}
</code></pre>
<p>&#x90A3;&#x4E48;&#x5C06;&#x5728;&#x5176;&#x4E2D;&#x4E00;&#x4E2A; <code>Devx</code> &#x8C03;&#x7528; <code>TEST</code> &#x7684;&#x65F6;&#x5019;&#xFF0C;&#x53E6;&#x5916;&#x4E00;&#x4E2A;&#x8C03;&#x7528;&#x8BD5;&#x56FE;&#x521B;&#x5EFA;&#x76F8;&#x540C;&#x7684;&#x5B57;&#x7B26;&#x4E32; <code>MSTR</code> &#x5C31;&#x4F1A;&#x5931;&#x8D25;&#x3002;</p>
</li>
</ol>
<h2 id="acpi-&#x9884;&#x5B9A;&#x4E49;&#x51FD;&#x6570;">ACPI &#x9884;&#x5B9A;&#x4E49;&#x51FD;&#x6570;</h2>
<h3 id="osi--operating-system-interfaces-&#x64CD;&#x4F5C;&#x7CFB;&#x7EDF;&#x63A5;&#x53E3;"><code>_OSI</code>  (Operating System Interfaces &#x64CD;&#x4F5C;&#x7CFB;&#x7EDF;&#x63A5;&#x53E3;)</h3>
<p>&#x901A;&#x8FC7;&#x8C03;&#x7528; <code>_OSI</code> &#x51FD;&#x6570;&#xFF0C;&#x6211;&#x4EEC;&#x53EF;&#x4EE5;&#x4E0D;&#x8D39;&#x5439;&#x7070;&#x4E4B;&#x529B;&#x77E5;&#x9053;&#x5F53;&#x524D;&#x7CFB;&#x7EDF;&#x8FD0;&#x884C;&#x7684;&#x662F;&#x4EC0;&#x4E48;&#x7CFB;&#x7EDF;&#xFF0C;&#x8F7B;&#x800C;&#x6613;&#x4E3E;&#x5730;&#x533A;&#x5206; Windows &#x548C; macOS&#xFF0C;&#x4ECE;&#x800C;&#x4E3A;&#x67D0;&#x4E2A;&#x7CFB;&#x7EDF;&#x521B;&#x5EFA;&#x5355;&#x72EC;&#x7684;&#x8865;&#x4E01;&#x3002;</p>
<p><code>_OSI</code> &#x51FD;&#x6570;&#x9700;&#x8981;&#x8F93;&#x5165;&#x4E00;&#x4E2A;&#x53C2;&#x6570;&#xFF0C;&#x8FD9;&#x4E2A;&#x53C2;&#x6570;&#x5FC5;&#x987B;&#x662F;&#x4E00;&#x4E2A;&#x64CD;&#x4F5C;&#x7CFB;&#x7EDF;&#x5B9A;&#x4E49;&#x7684;&#x7528;&#x4E8E;&#x8BC6;&#x522B;&#x7684;&#x5B57;&#x7B26;&#x4E32;</p>
<table>
<thead>
<tr>
<th style="text-align:center">&#x64CD;&#x4F5C;&#x7CFB;&#x7EDF;</th>
<th style="text-align:center">&#x5B57;&#x7B26;&#x4E32;</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:center">macOS</td>
<td style="text-align:center"><code>&quot;Darwin&quot;</code></td>
</tr>
<tr>
<td style="text-align:center">Linux<br>(&#x5305;&#x62EC;&#x57FA;&#x4E8E; Linux &#x5185;&#x6838;&#x7684;&#x64CD;&#x4F5C;&#x7CFB;&#x7EDF;)</td>
<td style="text-align:center"><code>&quot;Linux&quot;</code></td>
</tr>
<tr>
<td style="text-align:center">FreeBSD</td>
<td style="text-align:center"><code>&quot;FreeBSD&quot;</code></td>
</tr>
<tr>
<td style="text-align:center">Windows</td>
<td style="text-align:center"><code>&quot;Windows 20XX&quot;</code></td>
</tr>
</tbody>
</table>
<blockquote>
<p>&#x4E0E;&#x5176;&#x5B83;&#x64CD;&#x4F5C;&#x7CFB;&#x7EDF;&#x4E0D;&#x540C;&#x7684;&#x662F;&#xFF0C;&#x6BCF;&#x4E2A; Windows &#x7248;&#x672C;&#x90FD;&#x6709;&#x4E0D;&#x540C;&#x7684;&#x5B57;&#x7B26;&#x4E32;&#xFF0C;&#x53C2;&#x9605;&#xFF1A;</p>
<p><a href="https://docs.microsoft.com/en-us/windows-hardware/drivers/acpi/winacpi-osi" target="_blank">https://docs.microsoft.com/en-us/windows-hardware/drivers/acpi/winacpi-osi</a></p>
</blockquote>
<p>&#x5F53; <code>_OSI</code> &#x5185;&#x7684;&#x53C2;&#x6570;&#x5BF9;&#x5E94;&#x4E86;&#x5F53;&#x524D;&#x64CD;&#x4F5C;&#x7CFB;&#x7EDF;&#x65F6;&#xFF0C;<code>_OSI</code> &#x5C31;&#x4F1A;&#x8FD4;&#x56DE; <code>1</code>&#xFF0C;<code>If</code> &#x6761;&#x4EF6;&#x8BED;&#x53E5;&#x5224;&#x65AD;&#x6210;&#x7ACB;</p>
<pre><code class="lang-swift"><span class="hljs-type">If</span> (_OSI (<span class="hljs-string">&quot;Darwin&quot;</span>)) <span class="hljs-comment">/* &#x5224;&#x65AD;&#x5F53;&#x524D;&#x7684;&#x7CFB;&#x7EDF;&#x662F;&#x4E0D;&#x662F; macOS */</span>
</code></pre>
<h3 id="sta-status-&#x72B6;&#x6001;"><code>_STA</code> (Status &#x72B6;&#x6001;)</h3>
<p><strong>&#x6CE8;&#x610F;&#x26A0;&#xFE0F;: <code>_STA</code> &#x5206;&#x4E3A;&#x4E24;&#x79CD;&#xFF0C;&#x8BF7;&#x52FF;&#x4E0E; <code>PowerResource</code> &#x7684; <code>_STA</code> &#x6DF7;&#x6DC6;&#xFF01;&#xFF01;&#xFF01;</strong></p>
<p><code>_STA</code> &#x65B9;&#x6CD5;&#x7684;&#x8FD4;&#x56DE;&#x503C;&#x6700;&#x591A;&#x5305;&#x542B; 5 &#x4E2A; Bit&#xFF0C;&#x6BCF;&#x4E2A; Bit &#x7684;&#x542B;&#x4E49;&#x5982;&#x4E0B;</p>
<table>
<thead>
<tr>
<th style="text-align:center">Bit &#x4F4D;</th>
<th style="text-align:left">&#x542B;&#x4E49;</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:center">Bit [0]</td>
<td style="text-align:left">&#x8BBE;&#x5907;&#x662F;&#x5426;&#x5B58;&#x5728;</td>
</tr>
<tr>
<td style="text-align:center">Bit [1]</td>
<td style="text-align:left">&#x8BBE;&#x5907;&#x662F;&#x5426;&#x88AB;&#x542F;&#x7528;&#x4E14;&#x53EF;&#x4EE5;&#x89E3;&#x7801;&#x5176;&#x8D44;&#x6E90;</td>
</tr>
<tr>
<td style="text-align:center">Bit [2]</td>
<td style="text-align:left">&#x8BBE;&#x5907;&#x662F;&#x5426;&#x5728; UI &#x4E2D;&#x663E;&#x793A;</td>
</tr>
<tr>
<td style="text-align:center">Bit [3]</td>
<td style="text-align:left">&#x8BBE;&#x5907;&#x662F;&#x5426;&#x6B63;&#x5E38;&#x5DE5;&#x4F5C;</td>
</tr>
<tr>
<td style="text-align:center">Bit [4]</td>
<td style="text-align:left">&#x8BBE;&#x5907;&#x662F;&#x5426;&#x5B58;&#x5728;&#x7535;&#x6C60;</td>
</tr>
</tbody>
</table>
<p>&#x770B;&#x5B8C;&#x4E0A;&#x9762;&#x7684;&#x8868;&#x53EF;&#x80FD;&#x5C31;&#x6709;&#x4EBA;&#x8981;&#x95EE;&#x4E86;&#xFF0C;&#x201C;&#x6211;&#x4EEC;&#x5E73;&#x65F6;&#x89C1;&#x5230;&#x7684; <code>_STA</code> &#x90FD;&#x662F; <code>0x0F</code>&#xFF0C;<code>Zero</code>&#x201D;&#xFF0C;&#x548C;&#x8FD9;&#x4E9B; Bit &#x6709;&#x5565;&#x5173;&#x7CFB;&#xFF1F;&#x5176;&#x5B9E;&#x53EA;&#x8981;&#x628A; 16&#x8FDB;&#x5236; &#x503C;&#x8F6C;&#x6362;&#x6210; 2 &#x8FDB;&#x5236;&#x81EA;&#x7136;&#x5C31;&#x4E00;&#x76EE;&#x4E86;&#x7136;&#x4E86;&#x3002;<code>0x0F</code> &#x7684;&#x610F;&#x601D;&#x662F;&#x524D;&#x56DB;&#x4E2A; Bit &#x90FD;&#x4E3A; <code>1</code>&#xFF0C;&#x7B49;&#x4E8E;&#x662F;&#x5B8C;&#x5168;&#x542F;&#x7528;&#xFF0C;&#x53CD;&#x4E4B; <code>Zero</code> &#x5C31;&#x662F;&#x5B8C;&#x5168;&#x7981;&#x7528;&#x3002;</p>
<p>&#x90A3;&#x4E48;&#x6709;&#x65F6;&#x5019;&#x9047;&#x5230;&#x7684; <code>0x0B</code>&#xFF0C;<code>0x1F</code> &#x53C8;&#x662F;&#x4EC0;&#x4E48;&#x5462;&#xFF1F;<strong><code>SSDT-PNLF</code></strong> &#x91CC;&#x9762;&#x7684; <code>0x0B</code> &#x8F6C;&#x6210; 2 &#x8FDB;&#x5236; &#x662F; <code>1011</code>&#xFF0C;&#x4E5F;&#x5C31;&#x662F;&#x8BF4;&#x8BBE;&#x5907;&#x5904;&#x4E8E;&#x4E00;&#x4E2A;&#x534A;&#x5F00;&#x7684;&#x72B6;&#x6001;&#xFF0C;&#x4E0D;&#x5141;&#x8BB8;&#x89E3;&#x7801;&#x5176;&#x4E2D;&#x7684;&#x8D44;&#x6E90;&#x3002;<code>0x1F</code> &#x53EA;&#x4F1A;&#x5728;&#x7B14;&#x8BB0;&#x672C;&#x7684;&#x7535;&#x6C60;&#x8BBE;&#x5907;&#x4E2D;&#x51FA;&#x73B0;&#xFF0C;&#x591A;&#x51FA;&#x7684;&#x90A3;&#x4E00;&#x4E2A; Bit &#x7528;&#x4E8E;&#x901A;&#x77E5; &#x7535;&#x6C60;&#x63A7;&#x5236;&#x8BBE;&#x5907; (Control Method Battery Device <code>PNP0C0A</code>) &#x8BBE;&#x5907;&#x5B58;&#x5728;&#x7535;&#x6C60;&#x3002;</p>
<blockquote>
<p>&#x8FD9;&#x91CC;&#x518D;&#x5570;&#x55E6;&#x4E00;&#x53E5; <code>PowerResource</code> &#x7684; <code>_STA</code></p>
<p><code>PowerResource</code> &#x7684; <code>_STA</code> &#x53EA;&#x6709;&#x4E24;&#x4E2A;&#x8FD4;&#x56DE;&#x503C; <code>One</code> &#x548C; <code>Zero</code>&#xFF0C;&#x6709;&#x5174;&#x8DA3;&#x53EF;&#x4EE5;&#x67E5;&#x9605; ACPI &#x89C4;&#x8303;&#xFF0C;&#x4F5C;&#x7528;&#x4E0D;&#x518D;&#x8D58;&#x8FF0;</p>
</blockquote>
<h3 id="crs-current-resource-settings-&#x5F53;&#x524D;&#x8D44;&#x6E90;&#x8BBE;&#x7F6E;"><code>_CRS</code> (Current Resource Settings &#x5F53;&#x524D;&#x8D44;&#x6E90;&#x8BBE;&#x7F6E;)</h3>
<p><code>_CRS</code> &#x51FD;&#x6570;&#x8FD4;&#x56DE;&#x7684;&#x662F;&#x4E00;&#x4E2A; <code>Buffer</code>&#xFF0C;&#x5728;&#x89E6;&#x6478;&#x8BBE;&#x5907;&#x4E2D;&#x4F1A;&#x8FD4;&#x56DE;&#x89E6;&#x6478;&#x8BBE;&#x5907;&#x6240;&#x9700;&#x7684; <code>GPIO Pin</code>&#xFF0C;<code>APIC Pin</code> &#x7B49;&#x7B49;&#xFF0C;&#x53EF;&#x4EE5;&#x63A7;&#x5236;&#x8BBE;&#x5907;&#x7684;&#x4E2D;&#x65AD;&#x6A21;&#x5F0F;&#x3002;</p>
<h2 id="asl-&#x6D41;&#x7A0B;&#x63A7;&#x5236;">ASL &#x6D41;&#x7A0B;&#x63A7;&#x5236;</h2>
<p>&#x548C;&#x5E38;&#x89C1;&#x7684;&#x9AD8;&#x7EA7;&#x7F16;&#x7A0B;&#x8BED;&#x8A00;&#x4E00;&#x6837;&#xFF0C;ASL &#x4E5F;&#x6709;&#x4E0E;&#x4E4B;&#x5BF9;&#x5E94;&#x7684;&#x63A7;&#x5236;&#x6D41;&#x7A0B;&#x8BED;&#x53E5;&#x3002;</p>
<ul>
<li>Switch<ul>
<li>Case</li>
<li>Default</li>
<li>BreakPoint</li>
</ul>
</li>
<li>While<ul>
<li>Break</li>
<li>Continue</li>
</ul>
</li>
<li>If<ul>
<li>Else</li>
<li>ElseIf</li>
</ul>
</li>
<li>Stall</li>
</ul>
<h3 id="&#x5206;&#x652F;&#x63A7;&#x5236;-if-&#x548C;-switch">&#x5206;&#x652F;&#x63A7;&#x5236; <code>If</code> &#x548C; <code>Switch</code></h3>
<h4 id="if"><code>If</code></h4>
<p>   &#x4F8B;&#x5982;&#x4E0B;&#x9762;&#x7684;&#x8BED;&#x53E5;&#x5224;&#x65AD;&#x4E00;&#x4E0B;&#x5F53;&#x524D;&#x7CFB;&#x7EDF;&#x7684;&#x63A5;&#x53E3;&#x662F;&#x4E0D;&#x662F; <code>Darwin</code>&#xFF0C;&#x5982;&#x679C;&#x662F;&#x628A; <code>OSYS = 0x2710</code></p>
<pre><code class="lang-swift">   <span class="hljs-type">If</span> (_OSI (<span class="hljs-string">&quot;Darwin&quot;</span>))
   {
       <span class="hljs-type">OSYS</span> = <span class="hljs-number">0x2710</span>
   }
</code></pre>
<h4 id="elseif-else"><code>ElseIf</code>, <code>Else</code></h4>
<p>   &#x4E0B;&#x9762;&#x7684;&#x4F8B;&#x5B50;&#x4E2D;&#x5982;&#x679C;&#x7CFB;&#x7EDF;&#x7ED3;&#x6784;&#x4E0D;&#x662F; <code>Darwin</code>&#xFF0C;&#x53E6;&#x5916;&#x5982;&#x679C;&#x7CFB;&#x7EDF;&#x4E0D;&#x662F; <code>Linux</code>&#xFF0C;&#x90A3;&#x4E48; <code>OSYS = 0x07D0</code></p>
<pre><code class="lang-swift">   <span class="hljs-type">If</span> (_OSI (<span class="hljs-string">&quot;Darwin&quot;</span>))
   {
       <span class="hljs-type">OSYS</span> = <span class="hljs-number">0x2710</span>
   }
   <span class="hljs-type">ElseIf</span> (_OSI (<span class="hljs-string">&quot;Linux&quot;</span>))
   {
       <span class="hljs-type">OSYS</span> = <span class="hljs-number">0x03E8</span>
   }
   <span class="hljs-type">Else</span>
   {
       <span class="hljs-type">OSYS</span> = <span class="hljs-number">0x07D0</span>
   }
</code></pre>
<h4 id="switch-case-default-breakpoint"><code>Switch</code>, <code>Case</code>, <code>Default</code>, <code>BreakPoint</code></h4>
<pre><code class="lang-swift">   <span class="hljs-type">Switch</span> (<span class="hljs-type">Arg2</span>)
   {
       <span class="hljs-type">Case</span> (<span class="hljs-number">1</span>) <span class="hljs-comment">/* &#x6761;&#x4EF6; 1 */</span>
       {
           <span class="hljs-type">If</span> (<span class="hljs-type">Arg1</span> == <span class="hljs-number">1</span>)
           {
               <span class="hljs-type">Return</span> (<span class="hljs-number">1</span>)
           }
           <span class="hljs-type">BreakPoint</span> <span class="hljs-comment">/* &#x6761;&#x4EF6;&#x5224;&#x65AD;&#x4E0D;&#x7B26;&#x5408;&#xFF0C;&#x9000;&#x51FA; */</span>
       }
       <span class="hljs-type">Case</span> (<span class="hljs-number">2</span>) <span class="hljs-comment">/* &#x6761;&#x4EF6; 2 */</span>
       {
           ...
           <span class="hljs-type">Return</span> (<span class="hljs-number">2</span>)
       }
       <span class="hljs-type">Default</span> <span class="hljs-comment">/* &#x5982;&#x679C;&#x90FD;&#x4E0D;&#x7B26;&#x5408;&#xFF0C;&#x5219; */</span>
       {
           <span class="hljs-type">BreakPoint</span>
       }
   }
</code></pre>
<p>   <code>Switch</code> &#x53EF;&#x4EE5;&#x770B;&#x505A;&#x662F;&#x4E00;&#x7CFB;&#x5217; <code>If...Else</code> &#x7684;&#x96C6;&#x5408;&#x3002;<code>BreakPoint</code> &#x76F8;&#x5F53;&#x4E8E;&#x65AD;&#x70B9;&#xFF0C;&#x610F;&#x5473;&#x7740;&#x9000;&#x51FA;&#x5F53;&#x524D; <code>Swtich</code></p>
<h3 id="&#x5FAA;&#x73AF;&#x63A7;&#x5236;">&#x5FAA;&#x73AF;&#x63A7;&#x5236;</h3>
<h4 id="while-&#x4EE5;&#x53CA;&#x6682;&#x505C;-stall"><code>While</code> &#x4EE5;&#x53CA;&#x6682;&#x505C; <code>Stall</code></h4>
<pre><code class="lang-swift"><span class="hljs-type">Local0</span> = <span class="hljs-number">10</span>
<span class="hljs-type">While</span> (<span class="hljs-type">Local0</span> &gt;= <span class="hljs-number">0x00</span>)
{
    <span class="hljs-type">Local0</span>--
    <span class="hljs-type">Stall</span> (<span class="hljs-number">32</span>)
}
</code></pre>
<p><code>Local0</code> &#x7B49;&#x4E8E; <code>10</code>,&#x5982;&#x679C; <code>Local0</code> &#x903B;&#x8F91;&#x4E0D;&#x7B49;&#x4E8E; <code>0</code> &#x4E0D;&#x4E3A;&#x771F;&#xFF0C;<code>Local0</code> &#x81EA;&#x51CF; <code>1</code>,&#x6682;&#x505C; <code>32&#x3BC;s</code>, &#x6240;&#x4EE5;&#x8FD9;&#x6BB5;&#x4EE3;&#x7801;&#x5EF6;&#x65F6; <code>10 * 32 = 320 &#x3BC;s</code>&#x3002;</p>
<h4 id="for"><code>For</code></h4>
<p>ASL &#x4E2D;&#x7684; For &#x5FAA;&#x73AF;&#x548C; <code>C</code>, <code>Java</code> &#x4E2D;&#x7684;&#x5982;&#x51FA;&#x4E00;&#x8F99;</p>
<pre><code class="lang-swift"><span class="hljs-keyword">for</span> (local0 = <span class="hljs-number">0</span>, local0 &lt; <span class="hljs-number">8</span>, local0++)
{
    ...
}
</code></pre>
<p>&#x4E0A;&#x9762;&#x7684; <code>For</code> &#x5FAA;&#x73AF;&#x548C;&#x4E0B;&#x9762;&#x7684; <code>While</code> &#x662F;&#x7B49;&#x6548;&#x7684;</p>
<pre><code class="lang-swift"><span class="hljs-type">Local0</span> = <span class="hljs-number">0</span>
<span class="hljs-type">While</span> (<span class="hljs-type">Local0</span> &lt; <span class="hljs-number">8</span>)
{
    <span class="hljs-type">Local0</span>++
}
</code></pre>
<h2 id="&#x5916;&#x90E8;&#x5F15;&#x7528;-external">&#x5916;&#x90E8;&#x5F15;&#x7528; <code>External</code></h2>
<table>
<thead>
<tr>
<th style="text-align:center">&#x5F15;&#x7528;&#x7C7B;&#x578B;</th>
<th style="text-align:center">&#x4E2D;&#x6587;(&#x4EC5;&#x4F9B;&#x53C2;&#x8003;)</th>
<th style="text-align:left">&#x5916;&#x90E8; SSDT &#x5F15;&#x7528;</th>
<th style="text-align:left">&#x88AB;&#x5F15;&#x7528;</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:center">UnknownObj</td>
<td style="text-align:center">&#x672A;&#x77E5;</td>
<td style="text-align:left"><code>External (\_SB.EROR, UnknownObj</code></td>
<td style="text-align:left">(&#x53EA;&#x6709; iasl &#x65E0;&#x6CD5;&#x5224;&#x65AD;&#x7C7B;&#x578B;&#x65F6;&#x624D;&#x4F1A;&#x51FA;&#x73B0;&#xFF0C;&#x8BF7;&#x907F;&#x514D;&#x4F7F;&#x7528;)</td>
</tr>
<tr>
<td style="text-align:center">IntObj</td>
<td style="text-align:center">&#x6574;&#x6570;</td>
<td style="text-align:left"><code>External (TEST, IntObj</code></td>
<td style="text-align:left"><code>Name (TEST, 0)</code></td>
</tr>
<tr>
<td style="text-align:center">StrObj</td>
<td style="text-align:center">&#x5B57;&#x7B26;&#x4E32;</td>
<td style="text-align:left"><code>External (\_PR.MSTR, StrObj</code></td>
<td style="text-align:left"><code>Name (MSTR,&quot;ASL&quot;)</code></td>
</tr>
<tr>
<td style="text-align:center">BuffObj</td>
<td style="text-align:center">&#x7F13;&#x51B2;</td>
<td style="text-align:left"><code>External (\_SB.PCI0.I2C0.TPD0.SBFB, BuffObj</code></td>
<td style="text-align:left"><code>Name (SBFB, ResourceTemplate ()</code><br><code>Name (BUF0, Buffer() {&quot;abcde&quot;})</code></td>
</tr>
<tr>
<td style="text-align:center">PkgObj</td>
<td style="text-align:center">&#x5305;</td>
<td style="text-align:left"><code>External (_SB.PCI0.RP01._PRW, PkgObj</code></td>
<td style="text-align:left"><code>Name (_PRW, Package (0x02) { 0x0D, 0x03 })</code></td>
</tr>
<tr>
<td style="text-align:center">FieldUnitObj</td>
<td style="text-align:center">&#x5B57;&#x6BB5;&#x5355;&#x5143;</td>
<td style="text-align:left"><code>External (OSYS, FieldUnitObj</code></td>
<td style="text-align:left"><code>OSYS,   16,</code></td>
</tr>
<tr>
<td style="text-align:center">DeviceObj</td>
<td style="text-align:center">&#x8BBE;&#x5907;</td>
<td style="text-align:left"><code>External (\_SB.PCI0.I2C1.ETPD, DeviceObj</code></td>
<td style="text-align:left"><code>Device (ETPD)</code></td>
</tr>
<tr>
<td style="text-align:center">EventObj</td>
<td style="text-align:center">&#x4E8B;&#x4EF6;</td>
<td style="text-align:left"><code>External (XXXX, EventObj</code></td>
<td style="text-align:left"><code>Event (XXXX)</code></td>
</tr>
<tr>
<td style="text-align:center">MethodObj</td>
<td style="text-align:center">&#x51FD;&#x6570;</td>
<td style="text-align:left"><code>External (\_SB.PCI0.GPI0._STA, MethodObj</code></td>
<td style="text-align:left"><code>Method (_STA, 0, NotSerialized)</code></td>
</tr>
<tr>
<td style="text-align:center">MutexObj</td>
<td style="text-align:center">&#x4E92;&#x65A5;&#x4F53;</td>
<td style="text-align:left"><code>External (_SB.PCI0.LPCB.EC0.BATM, MutexObj</code></td>
<td style="text-align:left"><code>Mutex (BATM, 0x07)</code></td>
</tr>
<tr>
<td style="text-align:center">OpRegionObj</td>
<td style="text-align:center">&#x64CD;&#x4F5C;&#x533A;</td>
<td style="text-align:left"><code>External (GNVS, OpRegionObj</code></td>
<td style="text-align:left"><code>OperationRegion (GNVS, SystemMemory, 0x7A4E7000, 0x0866)</code></td>
</tr>
<tr>
<td style="text-align:center">PowerResObj</td>
<td style="text-align:center">&#x7535;&#x6E90;&#x8D44;&#x6E90;</td>
<td style="text-align:left"><code>External (\_SB.PCI0.XDCI, PowerResObj</code></td>
<td style="text-align:left"><code>PowerResource (USBC, 0, 0)</code></td>
</tr>
<tr>
<td style="text-align:center">ProcessorObj</td>
<td style="text-align:center">&#x5904;&#x7406;&#x5668;</td>
<td style="text-align:left"><code>External (\_SB.PR00, ProcessorObj</code></td>
<td style="text-align:left"><code>Processor (PR00, 0x01, 0x00001810, 0x06)</code></td>
</tr>
<tr>
<td style="text-align:center">ThermalZoneObj</td>
<td style="text-align:center">&#x6E29;&#x63A7;&#x533A;</td>
<td style="text-align:left"><code>External (\_TZ.THRM, ThermalZoneObj</code></td>
<td style="text-align:left"><code>ThermalZone (THRM)</code></td>
</tr>
<tr>
<td style="text-align:center">BuffFieldObj</td>
<td style="text-align:center">&#x7F13;&#x51B2;&#x533A;</td>
<td style="text-align:left"><code>External (\_SB.PCI0._CRS.BBBB, BuffFieldObj</code></td>
<td style="text-align:left"><code>CreateField (AAAA, Zero, BBBB)</code></td>
</tr>
</tbody>
</table>
<blockquote>
<p>DDBHandleObj &#x51E0;&#x4E4E;&#x4E0D;&#x53EF;&#x80FD;&#x9047;&#x5230;&#x56E0;&#x6B64;&#x8FD9;&#x91CC;&#x4E0D;&#x8BA8;&#x8BBA;</p>
</blockquote>
<p>&#x5728; SSDT &#x4E2D;&#x5916;&#x90E8;&#x5F15;&#x7528;&#x65F6;&#xFF0C;&#x4F7F;&#x7528; <code>External (</code> + <code>&#x8DEF;&#x5F84;&#x548C;&#x540D;&#x79F0;</code> + <code>,</code> + <code>&#x5F15;&#x7528;&#x7C7B;&#x578B;)</code>&#xFF0C;&#x628A;&#x5149;&#x6807;&#x5B9A;&#x4F4D;&#x5230;&#x88AB;&#x5F15;&#x7528; Object &#x91CC;&#x4E4B;&#x540E; MaciASL &#x4F1A;&#x5728;&#x5DE6;&#x4E0B;&#x89D2;&#x663E;&#x793A;&#x8DEF;&#x5F84;</p>
<h2 id="asl-&#x5B58;&#x5728;&#x6027;&#x5224;&#x65AD;&#x8BED;&#x53E5;-condrefof">ASL &#x5B58;&#x5728;&#x6027;&#x5224;&#x65AD;&#x8BED;&#x53E5; CondRefOf</h2>
<p><code>CondRefOf</code> &#x662F; ASL &#x4E2D;&#x4E00;&#x4E2A;&#x975E;&#x5E38;&#x5B9E;&#x7528;&#x7684;&#x51FD;&#x6570;&#xFF0C;&#x53EF;&#x4EE5;&#x7528;&#x6765;&#x5224;&#x65AD;&#x6240;&#x6709;&#x7C7B;&#x578B; Object &#x7684;&#x5B58;&#x5728;&#x4E0E;&#x5426;</p>
<pre><code class="lang-swift"><span class="hljs-type">Method</span> (<span class="hljs-type">SSCN</span>, <span class="hljs-number">0</span>, <span class="hljs-type">NotSerialized</span>)
{
    <span class="hljs-type">If</span> (_OSI (<span class="hljs-string">&quot;Darwin&quot;</span>))
    {
        ...
    }
    <span class="hljs-type">ElseIf</span> (<span class="hljs-type">CondRefOf</span> (\_SB.<span class="hljs-type">PCI0</span>.<span class="hljs-type">I2C0</span>.<span class="hljs-type">XSCN</span>))
    {
        <span class="hljs-type">If</span> (<span class="hljs-type">USTP</span>)
        {
            <span class="hljs-type">Return</span> (\_SB.<span class="hljs-type">PCI0</span>.<span class="hljs-type">I2C0</span>.<span class="hljs-type">XSCN</span> ())
        }
    }

    <span class="hljs-type">Return</span> (<span class="hljs-type">Zero</span>)
}
</code></pre>
<p>&#x4E0A;&#x9762;&#x7684;&#x4EE3;&#x7801;&#x8282;&#x9009;&#x81EA; <strong><code>SSDT-I2CxConf</code></strong>&#xFF0C;&#x5728;&#x542F;&#x52A8;&#x975E; macOS &#x7684;&#x7CFB;&#x7EDF;&#x65F6;&#xFF0C;&#x5982;&#x679C; <code>I2C0</code> &#x4E0B;&#x9762;&#x5B58;&#x5728; <code>XSCN</code> (&#x539F;&#x4E3A; <code>SSCN</code>&#xFF0C;&#x5DF2;&#x88AB;&#x88AB;&#x91CD;&#x547D;&#x540D;&#x6210; <code>XSCN</code>&#xFF0C;&#x521B;&#x5EFA;&#x4E00;&#x4E2A;&#x65B0;&#x7684;&#x51FD;&#x6570;&#x5E76;&#x4F7F;&#x7528;&#x539F;&#x6765;&#x7684;&#x540D;&#x79F0; <code>SSCN</code>)&#xFF0C;&#x5219;&#x8FD4;&#x56DE;&#x539F;&#x6765;&#x51FD;&#x6570;&#x8FD4;&#x56DE;&#x7684;&#x503C;</p>
<h2 id="&#x7ED3;&#x8BED;">&#x7ED3;&#x8BED;</h2>
<p>&#x7D2F;&#x4E86;&#xFF0C;&#x4ECA;&#x5929;&#x5C31;&#x5199;&#x5230;&#x8FD9;&#x91CC;&#xFF0C;&#x6709;&#x4E86;&#x8FD9;&#x4E9B;&#x57FA;&#x7840;&#xFF0C;&#x9119;&#x4EBA;&#x89C9;&#x5F97;&#x73B0;&#x5728;&#x5927;&#x5BB6;&#x5BF9;&#x7740; DSDT&#xFF0C;SSDT &#x7684;&#x65F6;&#x5019;&#x5C31;&#x4E0D;&#x4F1A;&#x662F;&#x53D1;&#x5446;&#x53C8;&#x53D1;&#x5446;&#xFF0C;&#x81F3;&#x5C11;&#x53EF;&#x4EE5;&#x660E;&#x767D;&#x4E9B;&#x5C11;&#x8BED;&#x53E5;&#x4E86;&#x3002;</p>

                                
                                </section>
                            
    </div>
    <div class="search-results">
        <div class="has-results">
            
            <h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
            <ul class="search-results-list"></ul>
            
        </div>
        <div class="no-results">
            
            <h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
            
        </div>
    </div>
</div>

                        </div>
                    </div>
                
            </div>

            
                
                <a href="../" class="navigation navigation-prev " aria-label="Previous page: 00-总述">
                    <i class="fa fa-angle-left"></i>
                </a>
                
                
                <a href="../00-2-SSDT补丁加载顺序/" class="navigation navigation-next " aria-label="Next page: 00-2-SSDT补丁加载顺序">
                    <i class="fa fa-angle-right"></i>
                </a>
                
            
        
    </div>

    <script>
        var gitbook = gitbook || [];
        gitbook.push(function() {
            gitbook.page.hasChanged({"page":{"title":"00-1-ASL语法基础","level":"1.2.1","depth":2,"next":{"title":"00-2-SSDT补丁加载顺序","level":"1.2.2","depth":2,"path":"00-总述/00-2-SSDT补丁加载顺序/README.md","ref":"00-总述/00-2-SSDT补丁加载顺序/README.md","articles":[{"title":"SSDT-XXXX-1.dsl","level":"1.2.2.1","depth":3,"path":"00-总述/00-2-SSDT补丁加载顺序/SSDT-XXXX-1.md","ref":"00-总述/00-2-SSDT补丁加载顺序/SSDT-XXXX-1.md","articles":[]},{"title":"SSDT-XXXX-2.dsl","level":"1.2.2.2","depth":3,"path":"00-总述/00-2-SSDT补丁加载顺序/SSDT-XXXX-2.md","ref":"00-总述/00-2-SSDT补丁加载顺序/SSDT-XXXX-2.md","articles":[]}]},"previous":{"title":"00-总述","level":"1.2","depth":1,"path":"00-总述/README.md","ref":"00-总述/README.md","articles":[{"title":"00-1-ASL语法基础","level":"1.2.1","depth":2,"path":"00-总述/00-1-ASL语法基础/README.md","ref":"00-总述/00-1-ASL语法基础/README.md","articles":[]},{"title":"00-2-SSDT补丁加载顺序","level":"1.2.2","depth":2,"path":"00-总述/00-2-SSDT补丁加载顺序/README.md","ref":"00-总述/00-2-SSDT补丁加载顺序/README.md","articles":[{"title":"SSDT-XXXX-1.dsl","level":"1.2.2.1","depth":3,"path":"00-总述/00-2-SSDT补丁加载顺序/SSDT-XXXX-1.md","ref":"00-总述/00-2-SSDT补丁加载顺序/SSDT-XXXX-1.md","articles":[]},{"title":"SSDT-XXXX-2.dsl","level":"1.2.2.2","depth":3,"path":"00-总述/00-2-SSDT补丁加载顺序/SSDT-XXXX-2.md","ref":"00-总述/00-2-SSDT补丁加载顺序/SSDT-XXXX-2.md","articles":[]}]},{"title":"00-3-ACPI表单","level":"1.2.3","depth":2,"path":"00-总述/00-3-ACPI表单/README.md","ref":"00-总述/00-3-ACPI表单/README.md","articles":[]},{"title":"00-4-ASL-AML对照表","level":"1.2.4","depth":2,"path":"03-二进制更名与预置变量/03-2-ASL-AML对照表/ASL-AML对照表.md","ref":"03-二进制更名与预置变量/03-2-ASL-AML对照表/ASL-AML对照表.md","articles":[]}]},"dir":"ltr"},"config":{"gitbook":"*","theme":"default","variables":{},"plugins":[],"pluginsConfig":{"highlight":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"}},"file":{"path":"00-总述/00-1-ASL语法基础/README.md","mtime":"2021-09-22T01:46:53.093Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2021-09-22T01:49:08.024Z"},"basePath":"../..","book":{"language":""}});
        });
    </script>
</div>

        
    <script src="../../gitbook/gitbook.js"></script>
    <script src="../../gitbook/theme.js"></script>
    
        
        <script src="../../gitbook/gitbook-plugin-search/search-engine.js"></script>
        
    
        
        <script src="../../gitbook/gitbook-plugin-search/search.js"></script>
        
    
        
        <script src="../../gitbook/gitbook-plugin-lunr/lunr.min.js"></script>
        
    
        
        <script src="../../gitbook/gitbook-plugin-lunr/search-lunr.js"></script>
        
    
        
        <script src="../../gitbook/gitbook-plugin-sharing/buttons.js"></script>
        
    
        
        <script src="../../gitbook/gitbook-plugin-fontsettings/fontsettings.js"></script>
        
    

    </body>
</html>

